Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

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

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2016-10-26 17:20 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (344 votes). Check out past polls.