basicdez has asked for the wisdom of the Perl Monks concerning the following question:
I have this module saved and want to pass information between these, why am I being so unsuccesful?
I call this one X2PCONF.pm
and want to call the information into this one main.plpackage X2PCONF; my $Num_OF_Bank_INFO = 2;
What I expect is to print out Number 2, but what I am getting is Number and a blank. Can anyone tell me why this is happening?#!/usr/local/bin/perl-Tw use X2PCONF; print "Number $X2PCONF::Num_OF_Bank_INFO\n";
peace, LOVE and ((code))
basicdez
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Help with passing through a package...
by wog (Curate) on Jan 31, 2002 at 22:21 UTC | |
by basicdez (Pilgrim) on Jan 31, 2002 at 22:38 UTC | |
by wog (Curate) on Jan 31, 2002 at 22:45 UTC | |
by basicdez (Pilgrim) on Jan 31, 2002 at 23:05 UTC | |
by wog (Curate) on Jan 31, 2002 at 23:15 UTC | |
Re: Help with passing through a package...
by blakem (Monsignor) on Jan 31, 2002 at 22:24 UTC |
Back to
Seekers of Perl Wisdom