in reply to Re^2: For vs. Foreach
in thread For vs. Foreach
prints the expected, whileuse Attribute::Handlers; sub foreach :ATTR { print "Just another Perl hacker,\n"; } sub foo :foreach {} foo();
does not. I'll follow my own advice and send a perlbug.use Attribute::Handlers; sub for :ATTR { print "Just another Perl hacker,\n"; } sub foo :for {} foo();
|
|---|