-
Notifications
You must be signed in to change notification settings - Fork 542
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
local %MYPKG::; doesn't work #815
Comments
From rnewman@northernlight.comlocal %MYPKG:: ; should localize, and set to undef, all variables in Test Case: The following program prints when it should print (Notice what happens if you change #!/usr/bin/perl sub foo { sub dumpit { dumpit(); Site configuration information for perl 5.00404: Configured by mark at Sun Dec 21 15:23:48 EST 1997. Summary of my perl5 (5.0 patchlevel 4 subversion 4) configuration: Locally applied patches: @INC for perl 5.00404: Environment for perl 5.00404: |
From [Unknown Contact. See original ticket]Ron Newman writes:
Why? You manipulate symbol table, not variables. Variables in a #!/usr/bin/perl -wl $MYPKG::foo = 11; does what I expect. Ilya |
Migrated from rt.perl.org#1743 (status was 'resolved')
Searchable as RT1743$
The text was updated successfully, but these errors were encountered: