John M. Dlugosz has asked for the wisdom of the Perl Monks concerning the following question:
But there is no function bootstram anywhere in the file, nor any other use/import/whatever statements before this that might be producing it.BEGIN { bootstrap }
It's not a builtin listed in perlfunc.
So, what is it?
Ordinarily I'd think it was a bareword, which doesn't do anything. But the module works, so the internal functions (e.g. _modify_attrs) not defined in the .pm file must be getting loaded from somewhere, and that is the stated purpose of the call to bootstrap.
—John
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: What is 'bootstrap'?
by rinceWind (Monsignor) on Nov 12, 2002 at 17:34 UTC | |
|
(tye)Re: What is 'bootstrap'?
by tye (Sage) on Nov 12, 2002 at 19:22 UTC | |
by John M. Dlugosz (Monsignor) on Nov 12, 2002 at 19:43 UTC | |
|
Re: What is 'bootstrap'?
by pg (Canon) on Nov 12, 2002 at 17:09 UTC | |
|
Re: What is 'bootstrap'?
by perrin (Chancellor) on Nov 12, 2002 at 17:52 UTC | |
|
Re: What is 'bootstrap'?
by Mr. Muskrat (Canon) on Nov 12, 2002 at 17:04 UTC | |
by John M. Dlugosz (Monsignor) on Nov 12, 2002 at 17:14 UTC |