Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Exporting Issue

by perlCrazy (Monk)
on Jul 27, 2007 at 20:15 UTC ( #629197=note: print w/ replies, xml ) Need Help??


in reply to Exporting Issue

MY variable cannot be called from outside of package. If you want to make package global variable then use 'OUR' or use vars module. Like this :

use vars qw ($country); or our $country;


Comment on Re: Exporting Issue
Download Code
Re^2: Exporting Issue
by BarMeister (Beadle) on Aug 01, 2007 at 20:56 UTC
    Yeah I didn't want it accessible outside the package that is why it is a "my" var.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://629197]
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: (6)
As of 2014-12-27 03:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls