Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: Array Help

by cwest (Friar)
on Oct 11, 2000 at 23:41 UTC ( [id://36301]=note: print w/replies, xml ) Need Help??


in reply to Array Help

I think this will be my reflex to homework question... obfuscation! :-)
print$_=>$/foreach(keys%{{map{$_=>1}@{[(1)x3=>(2)x1=>(3)x3]}}});
Enjoy!
--
Casey
   I am a superhero.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2024-04-24 04:46 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found