Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Thanks for looking!... my $dir_txt_files = "stuff/"; tie my @array, 'Tie::File', $dir_text_files or die "Could not open fil +e '$dir_text_files' $!"; unshift @array, 'NAME, ADDRESS, ZIPCODE' unless $array[0] =~ /^[a-zA- +Z]/; # Remove any blank lines. @array = grep /\S/, @array; untie @array; ....
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Use of uninitialized value in tie array
by Corion (Patriarch) on Apr 01, 2016 at 13:33 UTC | |
by Anonymous Monk on Apr 01, 2016 at 13:48 UTC | |
by Corion (Patriarch) on Apr 01, 2016 at 13:55 UTC | |
by Anonymous Monk on Apr 01, 2016 at 16:24 UTC | |
|
Re: Use of uninitialized value in tie array
by Anonymous Monk on Apr 02, 2016 at 02:49 UTC |