Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report



What I like most about perl 5.10
  • say (30)
  • state variables (3)
  • // (defined or) (61)
  • ~~ (smart match) (31)
  • regexp improvements (28)
  • switch statement (given, when) (29)
  • all of the above (115)
  • none of the above (write-in) (15)
  • (You may not vote anonymously. Please log in.)
    [ Results | Polls ]
    Comments:10 | Votes:312

    Log In

    [ Create a new account ]

    YAPC::Europe 2008 in Copenhagen

    Journal written by jonasbn (1153) and posted by brian_d_foy on 2007.08.29 13:36   Printer-friendly
    So it is finally public, next year's YAPC::Europe will be in Copenhagen/Denmark - I am eagerly awaiting the return of my fellow mongers who are in Vienna.

    I am green with envy and I have seen the movie of the pre-conference meet up and I am hanging out in the IRC channel, but is not quite the same.

    Well when they come back we will have a lot of work to do and only a year to do it, so lets get started...

    Devel::Leak::Object now 39% more evil!

    Journal written by Alias (5735) and posted by brian_d_foy on 2007.08.29 11:35   Printer-friendly
    Mucking around with Devel::Leak::Object at work on Monday, I managed with very little effort to locate an object "leak" (we were loading a bunch of stuff in Apache child init handlers, instead of at startup time in the parent like we should have).

    Immediately memory savings across 25 children? 600 meg! Multiplied by 5 boxes in the cluster. At the very least that should delay the need to add a new server to the cluster for a few months.

    Inspired by the quick win, I've been trying to hook D:L:Object in deeper to the Apache server, to look for more leaking cases (our web app uses enormous amounts of ram, and despite it legitimately needing a lot for certain tasks, I'm thinking there's probably much more that isn't necesary).

    Web::Scraper talk in YAPC::Europe 2007

    Journal written by miyagawa (1653) and posted by brian_d_foy on 2007.08.29 6:33   Printer-friendly
    The talk went really well, with positive feedbacks from lots of people. The only problem is that I spent too much time (10 minutes) introducing the problem and had only 3 minutes to do the demonstration. Should have done the reharsal :/

    The slides is available at

    I realize that the code snippet is displayed in funny fonts because I use Consolas with my powerpoint. Trying to reupload the file with Courier New. UPDATE: Now re-uploaded!

    New MIME::Lite

    Journal written by rjbs (4671) and posted by brian_d_foy on 2007.08.28 14:33   Printer-friendly

    MIME::Lite is, in my opinion, the worst of the popular email object modules. It's buggy, has a lousy interface, and just does awful things. I'd go so far as to say that the number one mistake I see in new email modules is a reliance on MIME::Lite instead of Mail::Message or Email::MIME.

    That said, I've just released the first non-developer release of MIME::Lite in over four years!

    YAPC::Europe 2008 will be in Copenhagen

    Journal written by tagg (277) and posted by brian_d_foy on 2007.08.28 14:31   Printer-friendly
    The YAPC Europe Foundation, in their infinite wisdom, have selected the bid from Copenhagen to hold next year's YAPC::EU. The organisers are currently worried about what the auction will turn up...

    First day of YAPC::EU::2007

    Journal written by maks (4581) and posted by brian_d_foy on 2007.08.28 12:32   Printer-friendly
    The YAPC::Europe 2007 in Vienna is quite happy to announce that almost all the announced people registered succesfuly this morning (Funny batch processing of quite some peoples). We could give away some goodies by various sponors. All the orga team members came in this morning with orange tomahawk!?!

    The talks are on going, schedule got some last minute updates. Cog gave us a fun keynote on how to socialize in order to get most out of a YAPC. Larry Wall gave his current vision on scripting languages. Matt Trout had a full audience for an enthusiatic talk about the community around DBIx::Class. Hackathons are ongoing and domm is preparing videos of the welcome night. So the first day looks like a win and we are happy to see how it will go on.. :)

    Meeting Announcements: Purdue Perl Mongers -- Social Meeting

    posted by brian_d_foy on 2007.08.27 14:31   Printer-friendly
    titivillus writes "Purdue Perl Mongers is having a social meeting at 7pm on Tuesday, August 28, at Cafe Royale in Chauncey Village in West Lafayette, IN.

    Social Meetings are unstructured get-togethers where members talk about what they're doing with Perl, what it can do, plan future meetings, or just talk. All are welcome."

    Sydney Perl Mongers - This Tuesday

    Journal written by pjf (2464) and posted by brian_d_foy on 2007.08.27 2:44   Printer-friendly

    Sydney Perl Mongers - This Tuesday
    I'm up in Sydney until the end of Thursday teaching our Programming Perl course. Tomorrow night (Tuesday 28th August 2007) I'll be presenting an illustrated history of failure at Sydney Perl Mongers I'd love to see you there, even if you have absolutely no interest in Perl.

    use Graph::Easy;

    Journal written by jplindstrom (594) and posted by brian_d_foy on 2007.08.27 0:42   Printer-friendly
    And the cool module of the day is Graph::Easy (live demo) by Tels++.

    It's kinda like GraphViz, but it also supports various text-mode output formats.

    That's very cool if you want to render a graph of, let's say an inheritance hierarchy in, let's say Emacs. Which I do.

    Widen your browser window and take a look at this fairly complicated graph that it managed to deal with (ancestors of the class CatalystX::FeedMe::View::Atom (found at the bottom)).

    News: Court ruling weakens Artistic License

    posted by brian_d_foy on 2007.08.26 7:59   Printer-friendly
    ggoebel writes "There's a story on Slashdot about a recent court decision concerning the Artistic License. The decision interprets the violation of the Artistic License as breach of contract instead of copyright infringement, I.e., the licensor in this case was not granted an injunction on the licensee to prevent them from continuing to redistribute their code.

    The slashdot article references Law & Life and the JMRI project page

    Looks like we may all be thanking Allison Randal and her efforts developing the Artistic 2.0.
    • Could the same thing happen under the Artistic 2.0 or Will further revisions to the Artistic license be required?
    • Should adoption of Artistic 2.0 wait until Perl 5.10?

    Perl 5.10 Advanced Regular Expressions

    Journal written by brian_d_foy (44) and posted by brian_d_foy on 2007.08.25 21:02   Printer-friendly
    I've been playing with the additions to the regex engine in 5.9.5, mostly as a last minute article on named captures for The Perl Review . A lot of this is really cool stuff, as in "Why wasn't it always this way?!" and "How did I ever live without this?!". Check out perldelta for 5.9.5.

    I've now also run into Yves Orton's (demerphq's) Perl 5.10 Advanced Regular Expressions slides, first dated from the 2006 London Perl Workshop. Not only does he show the new features, but he goes into some of the motivations and internals for them.

    And, after talking to Randal for a few minutes about this, we realized that a lot of this should be in Learning Perl, and that a lot of the stuff in perlfaq6 might get a lot easier. I'll have to practice these recursive regexes to update those answers.

    A button to "Use.perl it!"

    Journal written by brian_d_foy (44) and posted by brian_d_foy on 2007.08.25 20:36   Printer-friendly
    Want to let people suggest that your wonderful blog entry should be a story on use.Perl, giving it some good Google juice? Use.perl has a bit of javascript to make that work:

    <!-- Start use Perl It link -->
    <a href="javascript:location.href=''+encodeURIC omponent(location.href)+'&title='+encodeURIComponent(document.title)">
    <img src="" alt="use Perl" border="0" height="16" width="16"></a> &nbsp;
    <a href="javascript:location.href=''+encodeURIC omponent(location.href)+'&title='+encodeURIComponent(document.title)">use Perl It!
    <!-- End use Perl It link -->
    The submitter doesn't need to have an account, but people with an account can add a description of the story they'd like to submit.

    News: Not Quite Perl (NQP)

    posted by brian_d_foy on 2007.08.25 20:10   Printer-friendly
    brian_d_foy writes "You may have read chromatic's latest Perl 6 Design Meeting notes and wondered what NQP was (although Patrick brought it up in the Meeting notes for June 20). Over in the Pugs blog, Mark Strosberg talks a little about this new implementation of "Not Quite Perl 6" on parrot. It's not everything, but it's enough to whet your appetite. It doesn't do fancy DWIMery like leaving the parentheses off and the method call syntax. NQP gives the Parrot developers to work on the compilation phase of the process without dealing with all the complexity of a full Perl 6.

    Mark explains building NQP—it's just another language in parrot. Have you looked in the languages directory recently? There's quite a number of languages in there (which you can also see on at

    APL                     cola                    pheme
    BASIC                   dotnet                  plumhead
    HQ9plus                 ecmascript              pugs
    LANGUAGES.STATUS.pod    forth                   punie
    Makefile                jako                    pynie
    PIR                     lazy-k                  regex
    WMLScript               lisp                    scheme
    Zcode                   lua                     t
    abc                     m4                      tap
    amber                   nqp                     tcl
    befunge                 ook                     unlambda
    bf                      parrot_compiler         urm
    c99                     perl5
    cardinal                perl6
    That Makefile builds all of the languages, or I can build them separately by using the Makefile in their directories. Once I have the .pbc file, I can tell parrot to use it to parse my script:

    ./parrot languages/nqp/nqp.pbc hello.nqp
    The t/ directory contains examples of what I can do with NQP, and adding to those tests is a good way to get started in the Perl 6 effort."

    Perl 6 Design Minutes for 22 August 2007

    Journal written by chromatic (983) and posted by brian_d_foy on 2007.08.25 15:22   Printer-friendly
    The Perl 6 design team met by phone on 22 August 2007. Larry, Patrick, Jesse, Nicholas, and chromatic attended.

    Pittsburgh Perl Workshop: one-day Perl course

    posted by brian_d_foy on 2007.08.25 15:20   Printer-friendly
    rblackwe writes "The Pittsburgh Perl Workshop is happy to announce "From Zero To Perl," a special course for programmers new to the Perl programming language, to be taught by returning PPW speaker, Daniel Klein. There is an additional registration fee of $65 to take this course. Please select either the "Regular + From Zero To Perl" or "Student + From Zero To Perl" options when registering. Seating in this course is limited.

    Today's snazzy ack trick

    Journal written by petdance (2468) and posted by brian_d_foy on 2007.08.25 1:47   Printer-friendly
    I'm going through a codebase that's got a ton of unused files that have never been pruned. I use ack to look to see if a given file is used, and if not, svn rm the sucker. Then the domino effect starts. Removing that file means that there may well be others, both HTML and graphic, that are no longer used, too. Here's my handy tool to make that easier:

    svn diff | grep ^- | ack '(href|src)="(.+?)"' --output='$2' | sort -u
    Get the diff, only look at the lines where something's been removed, then find href= or src=, and only show what's in the parens, then sort and dedupe. Voila!

    Belgian Perl Workshop

    Journal written by eco (7186) and posted by brian_d_foy on 2007.08.24 15:28   Printer-friendly is proud to announce the first Belgian Perl Workshop. The workshop takes place in the building of the ESI in Brussels on the 27 octobre 2007. More details will follow on our website and meanwhile you can contact us via AT

    YAPC::NA in Chicago...again!

    Journal written by cbrandtbuffalo (4462) and posted by brian_d_foy on 2007.08.24 12:25   Printer-friendly has stepped up to be first group in recent years to bid for a repeat YAPC, and in close voting they nudged out Columbus for the opportunity to do it. Jonathan Rockway will be the head organizer, with support from previous Chicago organizers Josh McAdams and Pete Krawczyk. Both groups submitted strong bids and it was a tough choice.

    Watch for more announcements with final dates and other details. See you in Chicago!

    PPW 2007 CFP: Only 72 hours left!

    posted by brian_d_foy on 2007.08.24 8:26   Printer-friendly
    ehdonhon writes "One last chance! If you have anything to say or share about Perl, don't wait. Submit a talk proposal NOW to the Pittsburgh Perl Workshop. It's fun, it's easy, and it's your LAST chance.

    Come Monday, August 27, at 08:00 EDT, we are closing the doors. If you haven't submitted a talk proposal by then, you WILL deny yourself the fun and glory that only PPW speakers can know.

    But you need not suffer that grim fate! Victory is at hand! Just go to and submit a proposal for your talk.

    Can't think of an idea for a talk? No problem! We have a wiki full of great ideas. Pick an idea, and submit a talk. Or add an idea for somebody else to use. Either way, you win! But you must act now.

    Seize the day! Own the fun! Submit a talk proposal for PPW 2007 now!"

    Thank You Graham Barr

    Journal written by grantm (164) and posted by brian_d_foy on 2007.08.23 14:13   Printer-friendly

    For many people, is CPAN. It is very easy to take it for granted. It's always there and it just works. It allows us to find modules, read their documentation, track version histories and even just plain read the source - with ease. Through links to other sites in the stable, it also allows us to easily check test results for a distribution, report and review bugs and patches, share ratings and reviews, annotate the documentation and all the other things I've forgotten.

    I was reminded of the awesome coolness of as I was wading through RubyForge for a project I'm currently working on. The contrast was stark. And it's not that RubyForge is terrible, in fact it does a reasonable job. But it's not awesomely cool.

    Thanks Graham and everyone else involved

    Today's News | August 30 | August 28  >