Help for this page

Select Code to Download


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