| merlyn | it's gotta be spaffum's code |
| cfedde | later day saints? |
| spaffum | merlyn: ok so what do i look for? |
| merlyn | LDS = Lincoln Stein, MD, PhD spaffum - do you have any "close" in your code before calling Crypt::CBC? |
| spaffum | merlyn: am I closing somethign i shouldn't be? |
| action | damog fluffles xand and tech |
| damog | fluffles xand and tech |
| spaffum | yes, i am dealing with a couple different files... |
| merlyn | something is broken there then |
| spaffum | i'll trace my steps backwards I guess |
| xand | o.o |
| spaffum | but what am I looking for? |
| action | tech fluffles damog |
| tech | fluffles damog |
| spaffum | close on a non-valid handle? |
| merlyn | why are you closing anything? |
| spaffum | should i not be? |
| merlyn | and not just letting your handles go out of scope? |
| rhizo | filehandles are auto-closed when re-used |
| spaffum | that.... oh? |
| merlyn | I can count on one hand the number of times I've typed "close" in code |
| dazjorz | hm |
| merlyn | one of them is in the llama where I say "nobody uses close" :) |
| spaffum | but... how long... oh so if you try to open an already-open file handle Perl closes it first? |
| merlyn | right |
| mauke | I use close for files opened for writing |
| spaffum | shit i did not know that. well i do write to these files |
| merlyn | spaffum - you need to spend time with Learning Perl |
| mauke | ... so I can check the return code for errors |
| spaffum | more time :) ok |
| merlyn | yeah, I think that's about the only time I call close() to get the $? correct on a pipe-open |
| spaffum | well let's see |
| merlyn | Yes - let's just see! |
| spaffum | i call close 10 times HEY wait a minute merlyn |
| merlyn | spaffum |
| spaffum | # close STDOUT so parent can go on |