http://qs1969.pair.com?node_id=152106


in reply to Re: (jeffa) Re: Whether to use local()
in thread Whether to use local()

Ahhhh, i am starting to see now: perrin pointed me to CPAN and the Devel::Symdump module. Here is another snippet to help explain:
#!/usr/bin/perl #use strict; use Devel::Symdump; my $obj = Devel::Symdump->new('Foo'); print map {"$_\n"} $obj->scalars; package Foo; local $Foo::qualified; local $unqualified; our $our; my $my;
Which (without use strict) produces this ouput :
Foo::qualified
Foo::our
Foo::unqualified 
If strict is turned on, then $unqualified will cause a compliation error. I think i get it now! :)

Thank you tachyon, perrin, and also rob_au for pointing out What is it adding to my symbol table?.

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)