On 17 Nov 2005, at 11:07, Nigel Hamilton wrote:
>
> But it means I need to call it with: perl Foo.pm <something> .
> There must be a better way .... any ideas?
unless (caller) {
# I'm being invoked directly
}
--
Richard Clamp <richardc at unixbeard.net>