Created
September 11, 2019 18:59
-
-
Save treyharris/31302828e3e02e04bebb77fdd0c35974 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use autodie; | |
#use utf8; | |
use PerlIO::eol; | |
use open IN => ':raw:eol(CRLF?)'; | |
while (<>) { | |
chomp; | |
print "The line is '$_'.\n"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment