T
Troll
Hi,
$ netstat -a | netstats.pl
The above works on my Linux box. But if I try to run this on my Win2000 Pro
then this statement fails:
while (<STDIN>) {
print "Inside the loop...";
}
and I only see this output:
Before the loop...After the loop...
Script contents:
************
#!/perl/bin - w # this is my Win path
print "Before the loop...";
while (<STDIN>) {
print "Inside the loop...";
}
print "After the loop...";
Any comments would be appreciated. Thanks.
$ netstat -a | netstats.pl
The above works on my Linux box. But if I try to run this on my Win2000 Pro
then this statement fails:
while (<STDIN>) {
print "Inside the loop...";
}
and I only see this output:
Before the loop...After the loop...
Script contents:
************
#!/perl/bin - w # this is my Win path
print "Before the loop...";
while (<STDIN>) {
print "Inside the loop...";
}
print "After the loop...";
Any comments would be appreciated. Thanks.