Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Variable name

by f00li5h (Chaplain)
on Dec 08, 2008 at 23:07 UTC ( #729052=note: print w/ replies, xml ) Need Help??


in reply to Variable name

... you really do want a hash.

use warnings; use strict; my %f = ( oo => 'cats' ); print $f{ oo };

using an explicit hash instead of using the symbol table as a hash seems like the right thing to do ...

@_=qw; ask f00li5h to appear and remain for a moment of pretend better than a lifetime;;s;;@_[map hex,split'',B204316D8C2A4516DE];;y/05/os/&print;

Update would have worked just as well as a reply to Re^2: Variable name by Joost


Comment on Re: Variable name
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (13)
As of 2015-07-06 12:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (73 votes), past polls