Unix and I have never been friends, so I can't help you with the system
call, but have you tried doing a "print $pcommand"?
-Original Message-
From: Randy Brown
To: [EMAIL PROTECTED]
Sent: 3/29/02 11:41 PM
Subject: checking if file exists on remote machine...
I'm
I'm trying to check if a file exists on a remote machine using perl. I am unable to
make this work. Anyone have any suggestions?
Thanks!
Randy
# if source files not there, error
$length=@source_file;
$counter=0;
print "\n\n";
while ($counter < $l