Help for this page

Select Code to Download


  1. or download this
    $size[$_] = @{ $list[ $_ ] } for 1..$phrase_length;
    
  2. or download this
    Can't use an undefined value as an ARRAY reference at anagram.pl line 
    +34.
    
  3. or download this
    for my $length ( 1..$phrase_length )
    {
    ...
        $size[$length] 
              = ( $ref =~ /ARRAY/ ? @{ $list[ $length ] } : 0 );
    }