in reply to Bug in Module::Info? our vs. use vars
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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Bug in Module::Info? our vs. use vars (local our)
by Athanasius (Archbishop) on Jan 16, 2016 at 09:05 UTC | |
by Anonymous Monk on Jan 16, 2016 at 09:27 UTC |