On Thu, Oct 11, 2012 at 4:36 AM, Gary Stainburn
<gary.stainb...@ringways.co.uk> 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,
afb...@gmail.com
608 658-1890 cell
608 261-5738 wk

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to