Help for this page

Select Code to Download


  1. or download this
    @age = ( @f1 = (amy,35), @f2=(bill,55), @f3=(george,28), @f4=(jason,71
    +));
    @age = sort personal::sortAge(\@age);
    
  2. or download this
      DB<150> @age
     => (["amy", 35], ["bill", 55], ["george", 28], ["jason", 71])
    
      DB<151> sort personel::sortAge @age
     => (["jason", 71], ["bill", 55], ["amy", 35], ["george", 28])
    
  3. or download this
      DB<153> @age = ( @f1 = (amy,35), @f2=(bill,55), @f3=(george,28), @f4
    +=(jason,71));
     => ("amy", 35, "bill", 55, "george", 28, "jason", 71)
    
  4. or download this
      DB<157> @age = ( ["amy", 35], ["bill", 55], ["george", 28], ["jason"
    +,71]);
     => (["amy", 35], ["bill", 55], ["george", 28], ["jason", 71])
    ...
    
      DB<159> personel::sortAge @age
     => (["jason", 71], ["bill", 55], ["amy", 35], ["george", 28])