in reply to Globs and globals
The easiest way might be to just localize S1 and S2 first:
local(*S1, *S2); ...as in your first example...
OTOH, I don't think my $socket \*S1 is valid Perl--maybe there's an equal sign missing between $socket and \*S1?
=cut
--Brent Dax
There is no sig.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Globs and globals
by Eyck (Priest) on Jan 25, 2005 at 13:48 UTC | |
by BrentDax (Hermit) on Jan 25, 2005 at 18:40 UTC | |
by Eyck (Priest) on Jan 26, 2005 at 06:34 UTC | |
by BrentDax (Hermit) on Jan 26, 2005 at 10:29 UTC |
In Section
Seekers of Perl Wisdom