Created
August 21, 2012 13:08
-
-
Save kimmel/3415273 to your computer and use it in GitHub Desktop.
nytprof generates error messages with this code
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/perl | |
use v5.14; | |
use warnings; | |
use utf8::all; | |
use autodie; | |
open my $source, '<', 'dracula.txt'; | |
foreach my $line (<$source>) { | |
print $line if ((index substr($line, 0, 1), 'T') == 0); | |
} | |
close $source; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment