in reply to Getting same output doing pattern matching
($p1,$p2,$p3) = /$match/;
This matches against $_, which doesn't change between calls to file_eval. Since you have already matched, you could just do:
($p1, $p2, $p3) = ($1, $2, $3);
Abigail
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Getting same output doing pattern matching
by tariqahsan (Beadle) on May 22, 2003 at 04:31 UTC |