in reply to list of lists?
I believe that this is what you are trying to do. Note the square brackets (Making References)to create array references and the syntax @$tuple (Using References) to dereference them.
use strict; use warnings; my @sites=( ["50049", "city1", "url1"], ["52556", "city2", "url2"], ["50219", "city3", "url3"] ); foreach my $tuple (@sites) { my ( $zip, $name, $url ) = @$tuple; ...; }
Update: Added Links, corrected typo
Bill
In Section
Seekers of Perl Wisdom