Help for this page

Select Code to Download


  1. or download this
    #!perl -l
    
    ...
    
    open(my $fh, '<:raw', $0);
    print(substr(<$fh>, -2) eq "\r\n" ?'bin':'txt');  # bin