in reply to Collecting Country in a paragraph
I'll address the basics, since there's a lot of work/learning to be done there.
sub get_country { my $data = shift; open(local *IN, '<', 'country.lis') or die("Unable to open list of countries country.lis: $!\n"); my @my_bucket; while (defined(my $c = <IN>)) { ... } return \@my_bucket; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Collecting Country in a paragraph
by songahji (Friar) on Apr 26, 2006 at 14:40 UTC |