Help for this page

Select Code to Download


  1. or download this
    use warnings;
    use strict;
    ...
        $max = $len if $len > $max;
    }
    print "$max\n";
    
  2. or download this
    a
    abc
    abcdef
    abcd
    abcde
    
  3. or download this
                  1         2         3        
         12345678901234567890123456789012345678
    
  4. or download this
    perl -nE'$l=y///c;$m=$l if$l>$m;END{say$m}' file.txt