Help for this page

Select Code to Download


  1. or download this
    package PerlIO::via::AnyCRLF;
    
    ...
        return $len > 0 ? $buf : undef;
    }
    1;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
    print while <$f>;
    
    # print "layers after reading  :", join(':',PerlIO::get_layers($f)), "
    +\n";  # :unix:perlio:crlf:via
    
  3. or download this
    package PerlIO::via::AnyCRLF;
    
    ...
        return 1;
    }
    1;