Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
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: (9)
As of 2015-07-05 18:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (67 votes), past polls