bgiii has asked for the wisdom of the Perl Monks concerning the following question:
require DynaLoader; our @ISA = qw(Exporter DynaLoader); bootstrap My::Module;
Now I can run the module from w/in embedded code as I desired. I was very happy. But, when I moved to a different machine, and went to build the module there, there is no .so file for My::Modules, so the bootstrap command fails. I can get the thing to make if I comment out the bootstrap line, but this is now not a module I can get to run under embedded perl.
So my question is: is there a way I can leave the bootstrap command in, but not have it even attempted when I am attempting the initial make? I mean something like
bootstrap My::Module if XXX;
where XXX is unknown.
Thanks for any help, oh wise ones.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: bootstrap in a new module going 4 paws to moon
by ysth (Canon) on Jan 17, 2006 at 08:50 UTC | |
by bgiii (Sexton) on Jan 18, 2006 at 03:29 UTC |