in reply to simplify the code
I also wonder why you need hashes inside the array, and why you don't use (anonymous) arrays:my @array = ( { one => 'USA', ... }, {...}, ... );
which lets you say:my @array = ( [ 'USA', 'GOD', '690557', 'hello how are u' ], [ ... ], + ... );
foreach my $aref (@array) { # If you really need them... my ($one, $two, $three, $four) = @$aref; # Etc. etc. }
Flavio
perl -ple'$_=reverse' <<<ti.xittelop@oivalf
|
|---|