|
|
| Just another Perl shrine | |
| PerlMonks |
Re: grep problems and file copying issuesby chromatic (Archbishop) |
| on Jul 10, 2000 at 17:36 UTC ( [id://21827]=note: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.
grep'll do what you want, in this case, but I would rather use a hash. (As your list of CDs grows, the grep operation will take longer, while a hash lookup will always take the same amount of time.)
Better way to do it.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||