Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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 all is quiet...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2017-07-20 23:22 GMT
Find Nodes?
    Voting Booth?
    I came, I saw, I ...

    Results (316 votes). Check out past polls.