Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by kiat (Vicar)
on Sep 14, 2004 at 07:11 UTC ( [id://390761]=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 for your input, gmpassos!

I would love to switch to the OO mode some day. I've read quite a bit on it and have even got some OO code to work (got some help from castaway). Still, I'm not quite ready yet. Maybe it's just that I think better in terms of procedures (verbs rather than nouns).

I suppose if I were to write a specific standalone module that serves a single purpose, I might be able to think the OO way much better.

  • 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://390761]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found