in reply to Re: Re: Re: How to make a module aware of where it is installed?
in thread How to make a module aware of where it is installed?
Ok what if in Foo.pm before the require, I check to see that there isn't a left_hook(), right_hook(), captain_hook() etc. already defined in my package. If there is, I know something is bogus and refuse to continue.
Mind you, that doesn't help if I try to use a module within Bar.pm or Blurp.pm . So far I'm not but a user might want too for some reason. In that case they would have to repeat the check all over again. But having done so, they would have effectively prevented this type of attack no?
--
જલધર
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Re: Re: Re: How to make a module aware of where it is installed?
by chromatic (Archbishop) on Dec 05, 2002 at 02:59 UTC |
In Section
Seekers of Perl Wisdom