#perl - Fri 2 Mar 2007 between 14:00 and 14:04



merlynit's gotta be spaffum's code
cfeddelater day saints?
spaffummerlyn: ok so what do i look for?
merlynLDS = Lincoln Stein, MD, PhD
spaffum - do you have any "close" in your code before calling Crypt::CBC?
spaffummerlyn: am I closing somethign i shouldn't be?
actiondamog fluffles xand and tech
damogfluffles xand and tech
spaffumyes, i am dealing with a couple different files...
merlynsomething is broken there then
spaffumi'll trace my steps backwards I guess
xando.o
spaffumbut what am I looking for?
actiontech fluffles damog
techfluffles damog
spaffumclose on a non-valid handle?
merlynwhy are you closing anything?
spaffumshould i not be?
merlynand not just letting your handles go out of scope?
rhizofilehandles are auto-closed when re-used
spaffumthat.... oh?
merlynI can count on one hand the number of times I've typed "close" in code
dazjorzhm
merlynone of them is in the llama
where I say "nobody uses close" :)
spaffumbut... how long... oh so if you try to open an already-open file handle Perl closes it first?
merlynright
maukeI use close for files opened for writing
spaffumshit i did not know that.
well i do write to these files
merlynspaffum - you need to spend time with Learning Perl
mauke... so I can check the return code for errors
spaffummore time :) ok
merlynyeah, I think that's about the only time I call close()
to get the $? correct on a pipe-open
spaffumwell let's see
merlynYes - let's just see!
spaffumi call close 10 times
HEY wait a minute
merlyn
merlynspaffum
spaffum# close STDOUT so parent can go on

Page: 5 12 19 26 33 40 47 54 61 68 75 82 

IrcArchive