Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^14: Order of evaluation/interpolation of references

by BrowserUk (Patriarch)
on Mar 08, 2012 at 19:37 UTC ( [id://958523]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "And the set contains [ { sort @a } ]\n";;
    And the set contains [ brown dog fox jumps lazy over quick the the ]
    ...
    
    print "And the set contains [ ", join( ' ', sort @a ), " ]\n";;
    And the set contains [  brown dog fox jumps lazy over quick the the  ]
    
  2. or download this
    print "And the set contains [ @{[ sort @a ]} ]\n";;
    And the set contains [ brown dog fox jumps lazy over quick the the ]
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (10)
As of 2024-04-16 08:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found