in reply to script outputs nothing/nada
my $workdir=~/txt;I changed that to:
but it would be better as:my $workdir="~/txt";
I also changed BAD-IPS to BADIPS everywhere. Those changes got the code to compile.my $workdir = "$ENV{HOME}/txt";
One explanation for not getting any output is that your while loop is never entered -- check to see if the bad-ips file is empty. Also, try to print something before the while loop.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: script outputs nothing/nada
by bluethundr (Pilgrim) on Jun 06, 2010 at 19:23 UTC | |
by FunkyMonk (Bishop) on Jun 06, 2010 at 21:40 UTC | |
by bluethundr (Pilgrim) on Jun 06, 2010 at 23:42 UTC |