Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Need some help with a dodgy variable

by arturo (Vicar)
on Jul 30, 2001 at 15:57 UTC ( #100837=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    # strategy 1
    
    ...
        $var = "whatever"; # sets $var declared above to "whatever"
        
    }
    
  2. or download this
    # option 2
    
    ...
         $var = "whatever";
         return $var; # return is optional here, but makes what's going on
    + explicit.
    }
    
  3. or download this
    perl -e 'print "How sweet does a rose smell? "; chomp ($n = <STDIN>); 
    +$rose = "smells sweet to degree $n"; *other_name = *rose; print "$oth
    +er_name\n"'
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2014-11-28 15:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (198 votes), past polls