Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

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?

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2015-11-25 09:57 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (672 votes), past polls