princepawn has asked for the wisdom of the Perl Monks concerning the following question:
use is called everytime the eval() is called although use is not supposed to re-use a file once it is in %INC.BEGIN { warn 'hi' } eval ' use x qw(yo ha ha and a bottle of sprite) '; eval ' use x qw(yo ha ha and a bottle of sprite) '; eval ' use x qw(yo ha ha and a bottle of sprite) '; BEGIN { warn 'yi' }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: eval 'use module::name' is called more than once
by japhy (Canon) on Sep 14, 2001 at 07:28 UTC | |
|
Re: eval 'use module::name' is called more than once
by runrig (Abbot) on Sep 14, 2001 at 18:54 UTC |