Help for this page

Select Code to Download


  1. or download this
    open FH, 'file.name'
        or die "Cannot open 'file.name' for reading: $!\n";
    ...
        # $item->{description} is the description
        # $item->{function} is the function name
    }
    
  2. or download this
    # If sorting ascending asciibetically.
    my @sorted_items = sort { $a->{description} cmp $b->{description} } @i
    +tems;