>>>>> "chris" == chris robinson <[EMAIL PROTECTED]> writes:
chris> I have the following code. This code prints a / for each
chris> occurance of a certain number/word in a file. How would I
chris> change this to print a / for each 5 instances of a given
chris> word/number?
meta-question: Do we have a policy here of suspecting homework
and handling it appropriately (as in, DON'T GIVE THE ANSWER)?
Cuz this one smells a lot like something I'd assign as a homework
question (it's very artificial). And remember, there's a heckuva lot
of classes in Perl around the world now.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!