Brad Fitzpatrick (brad) wrote,
Brad Fitzpatrick


Went running, showered, then hung out with rivulet... we did a whole lot of nothing, highlights being pool, pizza, and beer, which in retrospect sounds like more than nothing, so hooray.

More BML mod_perl-ing afterwards. Kickin' some ass.

A little known feature of Perl is that when lexically defined variables go out of scope, any indirect filehandle stored in them is automatically closed. So, in fact, there's really no reason to perform an explicit close() on the filehandles in the two preceding examples unless you want to test the close operation's return value.
I found them stating that humorous, given that Linux's close() always returns true.

Tags: perl, tech

  • Ukraine

    Nobody reads my LiveJournal anymore, but thank you to everybody in Russia protesting Putin's insane war against Ukraine. (I know it's risky…

  • Happy Birthday!

    Happy 20th Birthday, LiveJournal! 🐐🎂🎉

  • hi

    Posting from the iPhone app. Maybe I'm unblocked now.

  • Post a new comment


    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.