Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Re: Our, use vars, and magic, oh my!

by arturo (Vicar)
on Aug 23, 2001 at 18:14 UTC ( [id://107331]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    An "our" declaration declares a global variable
    that will be visible across its entire lexical
    ...
    package in which the variable is entered is
    determined at the point of the declaration, not at
    the point of use.
    
  2. 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://107331]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (7)
As of 2024-04-18 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found