Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: Returning Arrays

Perl:  Returning Arrays
{filelink=14093}

sub myArray
{
    return (1, 2, 3, 4, 5, 6, 7, 8, 9);
}
for $index (0..9)
{
    $array[$index] = [&myArray];
}
print "$array[4][4]";

Users who found this page were searching for:

  • perl array returning
  • returning empty arrays in perl
  • perl returning arrays
  • perl return array

No comments yet.

Leave a Comment