in reply to
grep for a name
Drop the semicolon from the end of your
if
.
You want
$goal = $2
, not
$1
. (Even better, drop the parentheses around
Type:
.)
HTH
_______________
D
a
m
n
D
i
r
t
y
A
p
e
Home Node
|
Email
Comment on
Re: grep for a name
Select
or
Download
Code
In Section
Seekers of Perl Wisdom