in reply to Re^8: Addional "year" matching functionality in word matching script
in thread Addional "year" matching functionality in word matching script
Sure there is, but you will need to think about what value the variable should have after the while loop ends:
my $year; while( my $title = <CSV3> ) { $year = find_year( $title ); }; print "I now have a year of '$year'\n";
Do you really want to keep only one year from all the titles stored in your CSV file?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Addional "year" matching functionality in word matching script
by bms9nmh (Novice) on Jun 28, 2016 at 15:22 UTC | |
by Cow1337killr (Monk) on Jun 28, 2016 at 16:16 UTC | |
by bms9nmh (Novice) on Jun 28, 2016 at 16:47 UTC | |
by Cow1337killr (Monk) on Jun 28, 2016 at 20:36 UTC | |
by bms9nmh (Novice) on Jun 30, 2016 at 15:15 UTC | |
| |
|
Re^10: Addional "year" matching functionality in word matching script
by bms9nmh (Novice) on Jun 28, 2016 at 14:50 UTC |