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;

Replies are listed 'Best First'.
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.