in reply to still confused!
open (FILE, "file.txt") or die "Can't open file: $!";
Then, as soon as you are done with a file, it is good practice to close it.while (<FILE>) { #put stuff in the hash here }
I know this can get confusing, I've messed it up plenty of times myself.$hashref{$_}{CSV}; should be ${$hashref{$_}}{CSV};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: still confused!
by Albannach (Monsignor) on Mar 24, 2001 at 02:53 UTC | |
|
Re: Re: still confused!
by Anonymous Monk on Mar 24, 2001 at 02:55 UTC | |
by Anonymous Monk on Mar 24, 2001 at 03:11 UTC | |
by dvergin (Monsignor) on Mar 24, 2001 at 04:03 UTC |