Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Need some help with a dodgy variable

by arturo (Vicar)
on Jul 30, 2001 at 15:57 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://100837]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2024-04-18 11:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found