Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Variable Declarationby Roy Johnson (Monsignor) |
on Aug 31, 2007 at 15:09 UTC ( [id://636350]=note: print w/replies, xml ) | Need Help?? |
$var1 is defined in the scope of the if-blocks. It is not available outside them. Your example here is probably better written as
Downvotes without explanation continue to be the scourge of Perlmonks. Caution: Contents may have been coded under pressure.
In Section
Seekers of Perl Wisdom
|
|