Help for this page

Select Code to Download


  1. or download this
    c:\@Work\Perl\monks>perl -wMstrict -le
    "sub not_too_many_dots { return $_[0] =~ tr/.// <= 1; }
    ...
    '..' too many dots
    '...' too many dots
    '....' too many dots
    
  2. or download this
    c:\@Work\Perl\monks>perl -wMstrict -MO=Deparse,-p -le
    "sub not_too_many_dots { return $_[0] =~ tr/.// <= 1; }
    ...
        print($g);
    }
    -e syntax OK