Uph. It took me a while to understand what you are trying to say :)
I guess, this might be considered a bug. Here's the example of code to reproduce it.
The code above works correctly, but still produces warning. Somehow, warnings generator does not see that "local" shall save away old function reference and no redefining happens because after "local" function FUNC "does not exist" anymore.use warnings; sub FUNC{ print "I'm in func\n"; } { local(*FUNC) = sub { print "now overridden\n"; }; FUNC(); } FUNC();
In reply to Re: UPDATED, mostly solved: separation of define + assignment different from combination?
by andal
in thread UPDATED, mostly solved: separation of define + assignment different from combination?
by perl-diddler
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |