Help for this page

Select Code to Download


  1. or download this
    use 5.010;
    use warnings;
    use autodie;
    ...
        
        select STDOUT;
    }
    
  2. or download this
    use File::Slurp;
     
    $_ = read_file($ARGV[0] // $0);
    ...
    s/\x0d/<CR>/g, s/\x0a/<LF>/g;
    s/((?:<CR>)?<LF>)/$1\n/g; # Add real line breaks
    say;