Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: examining other package's variable without 'use'

by pfaut (Priest)
on May 09, 2003 at 17:55 UTC ( [id://256948]=note: print w/replies, xml ) Need Help??


in reply to examining other package's variable without 'use'

Why not have the caller pass the variable instead of it's name? Why call a subroutine to get the value of a variable that's already accessible? Perhaps you meant to look in the caller's caller's namespace? This sounds like a broken design to me.

90% of every Perl application is already written.
dragonchild
  • Comment on Re: examining other package's variable without 'use'

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-23 18:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found