Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

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

by pfaut (Priest)
on May 09, 2003 at 17:55 UTC ( #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
Node Status?
node history
Node Type: note [id://256948]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (1)
As of 2021-02-25 00:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?