SPUG: undef a list of variables?
David Bitseff
dbitsef at uswest.com
Tue Aug 24 17:55:48 CDT 1999
You could turn warnings off in the area you are having problems with by
locally scoping $^W. For example:
#!/usr/bin/perl -w
{
# warnings are off here
local $^W;
print $a;
}
>>>>> On Tue XXIV Aug MCMXCIX XV:VI:XIX, Michael Leary writes:
> part of the reason for using "use varw qw($yada $blah)" for variables I didn't
> real want to have around after the method call in the first place had to do
> with warnings about variables becoming unshared in named subroutines.
> Anyone dealt with 'unshared' warnings when using 'my' variables and named
> subroutines within methods, and come up with something better?
--
David Bitseff
U S WEST Creative Services
dbitsef at uswest.com
(206) 346-9279
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
POST TO: spug-list at pm.org PROBLEMS: owner-spug-list at pm.org
Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
Email to majordomo at pm.org: ACTION spug-list your_address
More information about the spug-list
mailing list