manishrathi has asked for the wisdom of the Perl Monks concerning the following question:
If I use PackageVar in a code with value of 23, which has a vlue of 53 in package , which value will be assigned to PackageVar ?my $iwhome = TeamSite::Config::iwgethome(); my $iwmount = TeamSite::Config::iwgetmount(); ($iwcfg) = "$iwhome/bin/iwconfig"; my $dcrpath = iwpt_get_dcr_name(); $dcrpath =~ s#\.iwmnt#iwmnt#g; my $dcr_name = iwpt_get_dcr_name("basename"); my $prefix = getLOB($dcrpath); my $prefDir = uc($prefix); my $templatename = getDataType($dcrpath); my $contentname = $dcr_name; $PackageVar = 23;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: lexical variable
by moritz (Cardinal) on Oct 06, 2009 at 14:45 UTC | |
by manishrathi (Beadle) on Oct 06, 2009 at 15:50 UTC | |
by moritz (Cardinal) on Oct 06, 2009 at 16:44 UTC | |
|
Re: lexical variable
by almut (Canon) on Oct 06, 2009 at 15:43 UTC |