Don't ask to ask, just ask | |
PerlMonks |
Re: (7) Net::Telnet time outsby Rex(Wrecks) (Curate) |
on Aug 14, 2002 at 15:52 UTC ( [id://190129]=note: print w/replies, xml ) | Need Help?? |
Ok, now for the obvious, is backup.pl in your path? Try running a different (very simple "hello world" style) perl script that is in the exact same place as backup.pl with the same permissions. This is seeming to be very strange. Also remove the waitfors, the cmd method will wait for timeout or prompt match, whichever is first. Make sure you are running with use strict ; and -w for as much info as possible. Also is there anything in @lines? Does the command return anything? (Although that is not likely whit the info in the dump log.). There must be something we are missing, with the info we have given you this should work just fine. "Nothing is sure but death and taxes" I say combine the two and its death to all taxes!
In Section
Seekers of Perl Wisdom
|
|