#!/usr/bin/perl # https://perlmonks.org/?node_id=1230880 use strict; use warnings; my $pattern = shift; chomp( @ARGV = <> ); /$pattern/ and print while <>;
In reply to Re: Question on File Handler and Subroutines in Perl
by tybalt89
in thread Question on File Handler and Subroutines in Perl
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |