Perl Monk, Perl Meditation | |
PerlMonks |
Re: pushby malaga (Pilgrim) |
on Feb 01, 2001 at 05:27 UTC ( [id://55624]=note: print w/replies, xml ) | Need Help?? |
i posted this question for tilly but i should have posted it here so everyone can see it. please excuse the duplication i have been trying to tweak this script to cover one more aspect of what i am doing - i need to search for all rows that have a particular id, not just the first one. here's where the script is: i only get one row back. i've tried taking out "last;" i've tried to do a foreach instead of an if, but i can't get it to work. i've even posted another sopw, in trying to use "push" to get all the lines that match into one array. can this script work for this problem, and if so, where should changes be made? thank you for your help. malaga
In Section
Seekers of Perl Wisdom
|
|