update: local our works
my $eval =<<'END_EVAL'; no strict; local our $VERSION; $VERSION=undef; do { $VERSION = 'desired_version'; }; $VERSION END_EVAL
I think its like doing my $foo; { my $foo; } the inner foo is invisible
Maybe see 'our' is not 'my' , local our $var; What does it do?
In reply to Re: Bug in Module::Info? our vs. use vars (local our)
by Anonymous Monk
in thread Bug in Module::Info? our vs. use vars
by Athanasius
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |