in reply to Re^3: $obj->method v.s. $obj->method()
in thread $obj->method v.s. $obj->method()
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:
foreach my $qw qw (qw qw) {print $qw}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: $obj->method v.s. $obj->method()
by Burak (Chaplain) on May 09, 2009 at 18:45 UTC |