B
Binny V A
Hello Everyone,
I have made many shell scripts using perl. Some of them are available
at http://www.geocities.com/binnyva/code/perl/shell_scripts/index.html.
When I user perl to create shell scripts, I get a error message that I
don't understand.
It appears when this code is used
# Get a list of all matching files
my $list;
$list = `dir /b *.htm`;
my @LIST = split(/\s+/, $list);
This script shows the error...
dir: /b: No such file or directory (ENOENT)
Anyway the script works fine and does everything I would expect of it
- except for showing the error. I just want to know what that error is
and how to avoid it.
Thank You,
Binny V A.
http://www.geocities.com/binnyva
I have made many shell scripts using perl. Some of them are available
at http://www.geocities.com/binnyva/code/perl/shell_scripts/index.html.
When I user perl to create shell scripts, I get a error message that I
don't understand.
It appears when this code is used
# Get a list of all matching files
my $list;
$list = `dir /b *.htm`;
my @LIST = split(/\s+/, $list);
This script shows the error...
dir: /b: No such file or directory (ENOENT)
Anyway the script works fine and does everything I would expect of it
- except for showing the error. I just want to know what that error is
and how to avoid it.
Thank You,
Binny V A.
http://www.geocities.com/binnyva