in reply to Re^2: For vs. Foreach
in thread For vs. Foreach

You're right!
use Attribute::Handlers; sub foreach :ATTR { print "Just another Perl hacker,\n"; } sub foo :foreach {} foo();
prints the expected, while
use Attribute::Handlers; sub for :ATTR { print "Just another Perl hacker,\n"; } sub foo :for {} foo();
does not. I'll follow my own advice and send a perlbug.