On 8/24/07, Pat Rice <[EMAIL PROTECTED]> wrote:
> open (DATA, "$data_file") or die "can't open $data_file $!";
> my @array_of_data = ;
That reads the entire file into the array.
> while ($line = )
That goes back to try to read more, but you're already at end-of-file.
So it won't find anything.
Hi all,
I'm trying to get the follwoing to work:
what I am aiming to do is the following:
1. Read a file
2. Regex the df file and look for the line which contains "Used".
Problem:
- part 1 reads the file, confirmed, because I output this to the screen
- Part 2 Is where the problem is, as I connot