Unexpected token error when providing a regular expression as input

2012-08-01 Thread moijes12
Hi My program takes is supposed to take regular expression and a file containing a list of words/lines as input and print all those lines that match the regular expression. Below is the program #!/usr/bin/perl use strict; use warnings; sub grep_file { my $pattern = shift; my @file_name

use of '===' in perl?

2008-08-29 Thread moijes12
hi I need to know if the '===' operator is used in perl?If it is,what is its use? moijes12 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/

Questions on perl?

2008-08-29 Thread moijes12
the use of the '=' operator? moijes12 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/