Another Stew-pid question :]
Given -
{
my $var = 100;
print "\$var is $var\n";
}
print "But here \$var is $var\n";
How can I or is there a way to get outer $var to be equal to 100 without
making $var global? Also, you're not allowed to set it to 100 outside of
the anonymous sub either.
???
-Sx-
PS - Also, I *know* this is bad code (especially when under -w, strict, or
diagnostics -- so please don't slam me about that.)
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]