in reply to Contriteness helper

Cute. I upvoted just for the use of "punitive" and "pun" together.

One suggestion:

while($punitive_cnt != 0){ print FILEHANDLE "$Sorry_line \n"; $punitive_cnt--; };

might be better expressed as

print FILEHANDLE "$Sorry_line \n" for (1..$punitive_cnt);

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
Re: Re: Contriteness helper
by jryan (Vicar) on Sep 27, 2002 at 06:21 UTC
    Or even:
    print FILEHANDLE "$Sorry_line \n" x $punitive_cnt;

    :^) # Bow to the hyper smiley!