in reply to use strict;,$main::, and AUTOLOAD: Why can't we all get along?
So the disengaged ref checking should be localised to that block.sub foo { my ($foo_target) = @_; no strict 'refs'; # Up to no good here ${"${foo_target}::foo"}++; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: use strict;,$main::, and AUTOLOAD: Why can't we all get along?
by hsmyers (Canon) on Jul 17, 2002 at 22:43 UTC | |
by tadman (Prior) on Jul 17, 2002 at 23:43 UTC | |
by hsmyers (Canon) on Jul 18, 2002 at 13:39 UTC |