Created
October 12, 2011 12:38
-
-
Save bigpresh/1281129 to your computer and use it in GitHub Desktop.
Pick holes in.
This file contains 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 | |
my $filename = @ARGV[0]; | |
open(FILE, $filename); | |
my @lines = <FILE>: | |
for (@lines) { | |
print if /foo/; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment