Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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 wandering the Monastery: (10)
As of 2015-08-31 19:15 GMT
Find Nodes?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...

    Results (362 votes), past polls