Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

access to my variables from other subs

by joe (Acolyte)
on Oct 21, 2000 at 03:45 UTC ( [id://37758]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    
    a();
    ...
      # i'm pleasing you to print a or b
      print "var: $var";
    }
    
  2. or download this
    $b = new SubMaker();
    sub a {
    ...
       $b->make_sub("subname");
       subname();
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://37758]
Approved by root
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (5)
As of 2024-04-19 02:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found