in reply to 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?
That's not very effective security. What if I put the following code in a module with a dissimilar name to a real plugin? It's still game over.
no warnings 'redefine'; *Your::Plugin::left_hook = sub { unlink <*>; };
Update: I could put this in a file called strict.pm and it would still work. I meant to mention that in the first version of this node.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: How to make a module aware of where it is installed?
by jaldhar (Vicar) on Dec 04, 2002 at 21:46 UTC | |
|
Re: Re: Re: Re: How to make a module aware of where it is installed?
by jaldhar (Vicar) on Dec 05, 2002 at 00:24 UTC | |
by chromatic (Archbishop) on Dec 05, 2002 at 02:59 UTC |