RE: Use Strict Error

2004-01-23 Thread Wiggins d Anconia
Please bottom post. > 1. You are missing ";" > Type > `egrep $name testing.txt`; > And not > 'egrep $name testing.txt' > > Not the backticks and not quotes ... > There's also no reason to use backticks in void context. perldoc -f system Please use full paths, error check, etc. if you are goi

Re: Use Strict Error

2004-01-23 Thread Rob Dixon
Bill Jastram wrote: > > When I use the following portion of Perl code: > __ > > #!/usr/bin/perl > # use with: > # perl IfThenElse tfcfam (Use all of this at the command line!) > > use strict; > use warnings; > > print "Search by name: "; > > my $name

RE: Use Strict Error

2004-01-23 Thread NYIMI Jose (BMB)
1. You are missing ";" Type `egrep $name testing.txt`; And not 'egrep $name testing.txt' Not the backticks and not quotes ... HTH, José. -Original Message- From: Bill Jastram [mailto:[EMAIL PROTECTED] Sent: Friday, January 23, 2004 4:00 PM To: [EMAIL PROTECTED]

Use Strict Error

2004-01-23 Thread Bill Jastram
When I use the following portion of Perl code: __ #!/usr/bin/perl # use with: # perl IfThenElse tfcfam (Use all of this at the command line!) use strict; use warnings; print "Search by name: "; my $name = ; 'egrep $name testing.txt' #my(@col1, @c