On Thu, Oct 11, 2012 at 4:36 AM, Gary Stainburn
<[email protected]> wrote:
>> Is there a quick and easy way to detect which method called it?
>
> my $xinetd=(defined $ENV{REMOTE_HOST});
MIght be interesting to see what else is set in the environment,
adding something like:
warn("$_ -> $ENV{$_}\n") foreach keys %ENV;
will dump them to STDERR (or open a log) so you could compare.
--
a
Andy Bach,
[email protected]
608 658-1890 cell
608 261-5738 wk
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/