in reply to IO::Socket::SSL & Net::Websocket::Server Question

I don't think it's a problem.
perl -MSymbol -MData::Dumper -wE ' {my $x=gensym; print Dumper $x}; {my $y=gensym; print Dumper $y}; my $z=gensym; print Dumper $z; print $x, $y'
Output:
Name "main::x" used only once: possible typo at -e line 1. Name "main::y" used only once: possible typo at -e line 1. $VAR1 = \*Symbol::GEN0; $VAR1 = \*Symbol::GEN1; $VAR1 = \*Symbol::GEN2; Use of uninitialized value $x in print at -e line 1. Use of uninitialized value $y in print at -e line 1.
That's just how Symbol generates globs, I think.

Replies are listed 'Best First'.
Re^2: IO::Socket::SSL & Net::Websocket::Server Question
by huchister (Acolyte) on Jul 29, 2014 at 18:19 UTC
    Thanks. I was bit worried whether my script takes up unnecessary variable or eat up any memory cause of this.