Thanks to everyone that responded. Adding a "my" before the line that did
the split and stored the result in an array -
@fw_logs = split(/;/, $LINE);
seemed to make all the difference. I'm not certain I understand why - if
anyone can shed light on that I'd appreciate it. for that ma
On Tue, Jul 10, 2001 at 07:18:22AM -0400, Blader Robert G DLVA wrote:
> open ( FWLOG, "./logfile.010626");
>
> while ( $LINE = ) {
>
> chomp ($LINE);
> @fw_log = split (/;/, $LINE);
>
> }
If this is the only code you're using that has the problem you describe, and
you didn't
I have a program that reads through a log file (from a firewall
actually) and generates a few statistics from it. Problem is that is uses a
ton of memory. I had to add a lot (500MB) of swap to a Linux box with 128
MB to begin with. BTW - Nothing else is running.
I commented out everyt