develooper Front page | perl.perl5.porters | Postings from April 2010

Re: [perl #74404] h2ph using deprecated goto

Thread Previous | Thread Next
From:
Zefram
Date:
April 16, 2010 04:02
Subject:
Re: [perl #74404] h2ph using deprecated goto
Message ID:
20100416110229.GI17930@lake.fysh.org
Todd Rinaldo wrote:
>Use of "goto" to jump into a construct is deprecated at utils/h2ph line 349, <IN> line xxxx

You could factor out the EMIT code into a subroutine.  Call it from both
the current "EMIT:" and "goto EMIT" sites.

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About