cybear has asked for the wisdom of the Perl Monks concerning the following question:
My problem is: I have no way of telling which script on which server has the failing pingtest.pl.
I am using my @values = do '/usr/local/bin/pingtest.pl'; to call the script. It returns info to the @values array but I cannot figure out how to pass the name of the calling script to the pingtest.pl script. my @values = do '/usr/local/bin/pingtest.pl myhostname'; does not work.
Please reveal the pearl of PERL of Wisdom that I do not possess.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: do is not doing it!
by tachyon (Chancellor) on Apr 12, 2002 at 12:30 UTC | |
by cybear (Monk) on Apr 12, 2002 at 13:22 UTC | |
|
Re: do is not doing it!
by broquaint (Abbot) on Apr 12, 2002 at 12:35 UTC | |
by cybear (Monk) on Apr 12, 2002 at 13:23 UTC |