NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
The Reason Why (I Think) (Score:1)
use feature ':5.10';
sub foo {
say 'beginning of foo';
bar();
say 'ending of foo';
}
sub bar {
say 'beginning of bar';
my @foo = grep { return } (1,2,3,4); # I'd say this should mean none
say 'ending of bar';
}
foo();
Note that the grep kills bar.
--fREW
http://blog.afoolishmanifesto.com
Reply to This