in reply to Dropping the ampersand
To illustrate and reinforce imp and ikegami's posts:
---
It's all fine and dandy until someone has to look at the code.
% perl -MO=Deparse -le '@livesys = sort &Con::liveones;' BEGIN { $/ = "\n"; $\ = "\n"; } @livesys = sort(&Con::liveones); -e syntax OK % perl -MO=Deparse -le '@livesys = sort Con::liveones();' BEGIN { $/ = "\n"; $\ = "\n"; } @livesys = (sort Con::liveones ()); -e syntax OK
---
It's all fine and dandy until someone has to look at the code.
In Section
Seekers of Perl Wisdom