On Tue, Jun 05, 2001 at 07:16:19AM -0700, Randal L. Schwartz ([EMAIL PROTECTED]) 
spew-ed forth:
> >>>>> "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)?

Nothing is set in stone on how to handle (possible) homework questions. Just because it
smells like homework, doesn't mean it is (it could just be teen spirit!).

If you suspect homework, why not just give a pointer to the appropriate docs
instead of a detailed explination (which should be pretty reasonable to give
any beginner on non-homework questions as well). 

Cheers,
Kevin

-- 
[Writing CGI Applications with Perl - http://perlcgi-book.com]
Let yourself be open and life will be easier. A spoon of salt in a glass of
water makes the water undrinkable. A spoon of salt in a lake is almost
unnoticed.
        -- Buddha

Reply via email to