in reply to Recieving lists as arguments
Then an assignment to "pictures" would look like.&make_barn(\@pictures) if ($cumulative >= 5000000);
You would then iterate over the array like$pictures = shift;
foreach (@{ $pictures }) { #do stuff with $_ }
|
|---|