Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Dropping the ampersand

by kwaping (Priest)
on Feb 09, 2007 at 22:12 UTC ( #599295=note: print w/ replies, xml ) Need Help??


in reply to Dropping the ampersand

To illustrate and reinforce imp and ikegami's posts:

% 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.


Comment on Re: Dropping the ampersand
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://599295]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (4)
As of 2014-11-29 06:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (203 votes), past polls