E
Eric
Hello,
Sometimes I get the error message: "Illegal seek". An example of this
is when I have the following in a Perl script:
my $run = "touch abc";
`$run` || print STDERR "Command '$run' failed: $! \n";
The error message I get is:
Command 'touch abc' failed: Illegal seek
Yet, the file 'abc' is created/updated.
But when $run = "ls -las", I don't get this error message.
Does anyone know why I am getting this error? Is there a better way to
accomplish the same thing?
Eric
Sometimes I get the error message: "Illegal seek". An example of this
is when I have the following in a Perl script:
my $run = "touch abc";
`$run` || print STDERR "Command '$run' failed: $! \n";
The error message I get is:
Command 'touch abc' failed: Illegal seek
Yet, the file 'abc' is created/updated.
But when $run = "ls -las", I don't get this error message.
Does anyone know why I am getting this error? Is there a better way to
accomplish the same thing?
Eric