OK. Maybe I've missed something here, but why are you storing a single
string in an array??
Try this
$arg = "$Basedir/ftpscr";
if (system($arg)) { die "cannot execute ftpscr $!"; }
John
-----Original Message-----
From: Tony McGuinness [mailto:[EMAIL PROTECTED]]
Sent: 19 February 2002 14:55
To: Perl List (E-mail)
Subject: Illegal seek
Hi there,
I checked up on system and rewrote the line that
calls system. Now I have:
@args = ("$Basedir/ftpscr");
system(@args) == 0 or die "cannot execute ftpscr $!";
but the script is not executed. No errors are returned.
Any ideas?
Tony
=====================================================================
DISCLAIMER
1. The information contained in this E-mail is confidential.
It is intended only for the stated addressee(s) and access
to it by any other person is unauthorised.
If you are not an addressee, you must not disclose, copy,
circulate or in any other way use or rely on the information
contained in this E-mail. Such unauthorised use may be unlawful.
If you have received this E-mail in error, please inform us
immediately and delete it and all copies from your system.
2. The views expressed in this E-mail are those of the author,
and do not represent the views of AMT-Sybex Group Ltd., its
associates or subsidiaries, unless otherwise expressly indicated.
In the avoidance of doubt, the insertion of the name of AMT-Sybex
Group Ltd., its associate or subsidiary under the name of the sender
may constitute an express indication that the views stated in the Mail
are those of the named company.
=====================================================================
For more information on the AMT Sybex group visit: http://www.amt-sybex.com
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------Confidentiality--------------------------.
This E-mail is confidential. It should not be read, copied, disclosed or
used by any person other than the intended recipient. Unauthorised use,
disclosure or copying by whatever medium is strictly prohibited and may be
unlawful. If you have received this E-mail in error please contact the
sender immediately and delete the E-mail from your system.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]