£okì has asked for the wisdom of the Perl Monks concerning the following question:
$g just counts how many times it came up valid. my problem is it's counting names that have nothing to do with the request but not all of the names.$j=0; $g=0; foreach $line(@vname){ chomp($line); if($vname[$j] =~ /i|"$request"/){ print qq~ <tr> <td><a href=\"mailto:$email[$j] \">$vname[$j] </a></td> </tr> ~; $g++; } $j++; }
Edit: 2001-03-03 by neshura
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: the god awful =~
by nashdj (Friar) on Dec 03, 2000 at 12:18 UTC | |
|
Re: the god awful =~
by repson (Chaplain) on Dec 03, 2000 at 12:49 UTC | |
by extremely (Priest) on Dec 03, 2000 at 14:22 UTC | |
|
Re: the god awful =~
by 2501 (Pilgrim) on Dec 03, 2000 at 12:11 UTC | |
|
Re: the god awful =~
by runrig (Abbot) on Dec 03, 2000 at 23:20 UTC | |
|
Re: the god awful =~
by swiftone (Curate) on Dec 04, 2000 at 20:50 UTC | |
|
Re: the god awful =~
by arturo (Vicar) on Dec 04, 2000 at 03:17 UTC | |
by nashdj (Friar) on Dec 04, 2000 at 11:41 UTC |