- or download this
personel.pm:
...
return 1;
- or download this
#under test.pl
@age = ( @f1 = (amy,35), @f2=(bill,55), @f3=(george,28), @f4=(jason,71
+));
@age = sort personal::sortAge(\@age);
- or download this
@age = sort sortAge(@age);
- or download this
@age = ( @f4=(jason, 71), @f2=(bill, 55), @f1=(amy, 35), @f3=(george,
+28))
- or download this
my @array = caller;
${$"{array}::b"}->[1] <=> ${$"{array}::a"}->[1]