Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Style: buried variables or double referencing?

by Anonymous Monk
on Aug 22, 2005 at 10:10 UTC ( [id://485648]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use Readonly;
    Readonly my $LOW  =>  9;
    ...
    for $i (0 .. $count) {
        ...
    }
    
  2. or download this
    use Readonly;
    Readonly my %VALUES => (x => 14, y => 9);
    ...
    for $i (0 .. $VALUE{$some_variable}) {
        ...
    }
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-16 04:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found