more useful options | |
PerlMonks |
Re^4: $obj->method v.s. $obj->method()by JavaFan (Canon) |
on May 09, 2009 at 18:38 UTC ( [id://763062]=note: print w/replies, xml ) | Need Help?? |
it looks like qw() has some magic in it in recent versionsIf you mean with "recent" any formal releases in years starting with '2', then yes. This has worked ever since 5.6.0 - which was the version that started doing qw at compile time, turning qw[foo bar] into ('foo', 'bar'). With parens. Probably most often seen in:
In Section
Seekers of Perl Wisdom
|
|