Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

lvalue considered harmful...

by adrianh (Chancellor)
on Dec 14, 2002 at 16:33 UTC ( #219867=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
    bar(oranges => 18);
    print bar("bananas"), "\n";
    print bar("oranges"), "\n";
    
  2. or download this
    sub bar {
        my $key = shift;
    ...
        };
        $Bar{$key};
    };
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://219867]
help
Chatterbox?
[marinersk]: LOL Another drive-by shooting Re^2: Working with folders in Perl and HTML

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2017-05-29 12:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?