Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
foreach (@data) { ($id,$var2,$var3,$var4,$var5) = split( /,/, $_); $id = grep { m/$id$/ } @data2; print "This $id was not found.\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: grepping
by indigo (Scribe) on Mar 25, 2001 at 01:33 UTC | |
|
Re: grepping
by dws (Chancellor) on Mar 25, 2001 at 01:02 UTC | |
by MeowChow (Vicar) on Mar 25, 2001 at 01:10 UTC | |
by Anonymous Monk on Mar 25, 2001 at 11:15 UTC | |
by dws (Chancellor) on Mar 25, 2001 at 11:21 UTC | |
by Anonymous Monk on Mar 25, 2001 at 11:31 UTC | |
by dws (Chancellor) on Mar 25, 2001 at 11:37 UTC | |
| |
|
Re: grepping
by MeowChow (Vicar) on Mar 25, 2001 at 13:52 UTC | |
|
Re: grepping
by chipmunk (Parson) on Mar 27, 2001 at 22:30 UTC |