Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re^2: Global variable vs passing variable from sub to sub

by kiat (Vicar)
on Sep 13, 2004 at 16:35 UTC ( [id://390599]=note: print w/replies, xml ) Need Help??


in reply to •Re: Global variable vs passing variable from sub to sub
in thread Global variable vs passing variable from sub to sub

Thanks, merlyn!

Hm...I'm not quite sure if what I'm currently labelling as "global" is in fact "regional" in my implemenation. The "global" I mentioned in the parent node is used in a module and is shared by a couple of subroutines. If I understand you correctly, that's okay right?

  • Comment on Re^2: Global variable vs passing variable from sub to sub

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (4)
As of 2024-04-24 06:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found