Help for this page

Select Code to Download


  1. or download this
    BEGIN {
        my $code= '...some work-around for not having GD...';
    ...
        eval "sub mySub { $code }; 1 "
          or die "$@";
    }
    
  2. or download this
    package Pretend;
    use base qw(Exporter);
    ...
    sub sorter(&@);
    sub hahser(\%);
    #[...]
    
  3. or download this
    my $got_Pretend;
    BEGIN {
    ...
        } else {
            @list= sort \&comparer worse_hasher(\%hash);
        }
    
  4. or download this
        if(  $got_Pretend  ) {
            @list= sorter( sub { $_[0] <=> $_[1] }, &hasher(\%hash) );
        } else {
            @list= sort \&comparer worse_hasher(\%hash);
        }