LPM: silliness

Matt Cashner sungo at earthling.net
Sat Nov 13 10:58:52 CST 1999


ok. for gits and shiggles, i'm playing with IRC and a perl bot. i'm
basically hacking Josh Harding's bot based on Chatbot::Eliza (i said it
was silly).  by default the bot prints its main log to stdout. so for the
time being i'm dumping it to a file (./elizairc.pl > main_log). the wierd
part is that the file only is getting written to after i close the
script.  am i missing something in bash that i should know by now? :)

also, if i'm reading things right, filehandles are local, correct? if so,
what's the proper syntax to pass a filehandle to subroutines?  or i
smoking the wacky weed again? :)

thanks all.

---------------------
Matt Cashner
 sungo at earthling.net
---------------------

"If we dont take care of the customer, maybe they'll stop bugging us."




More information about the Lexington-pm mailing list