tall_man has asked for the wisdom of the Perl Monks concerning the following question:
I have tried to convince him there is no essential difference between a "use Module qw(a b);" and:
I don't believe that either require or use will repeat BEGIN blocks of a module. Is there a definitive reference that would help to convince him?BEGIN { require Module; Module->import(qw(a b)); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: use and BEGIN
by blokhead (Monsignor) on Jul 19, 2003 at 20:04 UTC | |
|
Re: use and BEGIN
by tilly (Archbishop) on Jul 19, 2003 at 20:58 UTC | |
|
Re: use and BEGIN
by broquaint (Abbot) on Jul 20, 2003 at 12:55 UTC |