develooper Front page | perl.perl6.language | Postings from February 2001

Re: assign to magic name-of-function variable instead of "return"

Thread Previous | Thread Next
From:
John Porter
Date:
February 7, 2001 06:35
Subject:
Re: assign to magic name-of-function variable instead of "return"
Message ID:
20010207093525.B10181@min.net
Johan Vromans wrote:
> 
> Would the POST be executed if the open fails? Why? Why not?

Of course. It's a post-handler on the sub.


> All that POST and such do, is obfuscate the flow of control. 

No more so than contine{} on a loop, or END{} in a file, or DESTROY{}
in a class.


-- 
John Porter

You can't keep Perl6 Perl5.


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