this is a script that systematically pings every host on the network,
and writes the output to the screen. If the -n arg is specified, it
will also write to a disk. What's wrong with the syntax, especially
line 12?
#!/usr/bin/env perl
$x = 1;
$b = 0;
for ($x = 1; $x < 256; $x++) {
I want to feed the output of an "ls" command into a perl script and
store it as a variable, but I can't seem to figure out how to do this.
How can I get this working?
thanks,
mark
p.s. I'm using tcsh on mac os 10.2
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail:
I'm using Mac OS X (10.2), and upgraded the default installation
(5.6.0) to 5.8.0. Now, whenever I run the 'perl' command through tcsh I
get this annoying error:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LC_ALL = (unset),
LANG =