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 ]

    13 of 20 grant-funded Perl::Critic policies done

    Journal written by ChrisDolan (2855) and posted by brian_d_foy on 2007.09.08 15:21   Printer-friendly
    It's been a slow few weeks since my last post (vacation, teething), but I'm now making good progress on the remaining few policies in my grant-funded plan.

    The first 8 policies I did under this grant were released in Perl::Critic 1.07, but we had some regressions unrelated to my policies which have (hopefully) all been fixed as of 1.076. So give them a try.

    The policy that has generated the most talk so far has been Subroutines::RequireArgUnpacking which says that you can only use @_ in the first lines of your subroutine, and only to populate lexical vars. If you use more complex patterns like Params::Validate, then this policy is not for you and you should consider deactivating it by putting "[-Subroutines::RequireArgUnpacking]" in your perlcriticrc or putting "##no critic(Subroutines::RequireArgUnpacking)" near the top of your .pm file.

    Cleaning up the CPAN Modules List

    posted by brian_d_foy on 2007.09.08 2:28   Printer-friendly
    tsee writes "The PAUSE administrators are planning to do a little house keeping on the CPAN Modules List. We intend to remove old namespace reservations which have been registered with the modules mailing list but for which there never has been an actual implementation on CPAN. This will apply to all unused registrations from May 2007 and earlier.

    Since there are surprisingly many of these unclaimed registrations, we will send an email to every PAUSE author who has such an unused namespace asking her to contact the modules-at-perl-dot-org mailing list about the issue. Registrations for which we have not received any correspondence until December will then be made available again.

    If you are among those to receive such a reminder, please don't be offended. If you are still around, it is most likely a misunderstanding. For example, people have sometimes registered namespaces with the wrong capitalization.

    We intend to send the reminders within the next two weeks. Thank you for your understanding."

    Perl 6 Design Minutes for 05 September 2007

    Journal written by chromatic (983) and posted by brian_d_foy on 2007.09.08 2:26   Printer-friendly
    The Perl 6 design team met by phone on 05 September 2007. Larry, Allison, Patrick, Jesse, Nicholas, and chromatic attended.

    Meeting Announcements: - brian d foy @ Santa Monica, Sept 20th

    posted by brian_d_foy on 2007.09.07 14:34   Printer-friendly
    naterajj writes "Announcing's next meeting!

    brian d foy will present "Making your own CPAN"

    Thursday the 20th of September, from 7:00pm to 9:00pm

    2425 Olympic Blvd, Suite 400E
    Santa Monica, CA is very glad to welcome back renowned Perl author brian d foy,
    for his presentation about "Making your own CPAN", discover how CPAN
    works and how to create your own local mirrors, it's CPAN to go!.
    The meeting will be held at the offices in Santa Monica
    on Thursday the 20th of September, from 7:00pm to 9:00pm

    CPAN Testers Discussion IRC Channel

    Journal written by BinGOs (7246) and posted by brian_d_foy on 2007.09.07 13:41   Printer-friendly

    So, I had already created a channel on IRC for reporting CPAN Testers reports as they happened, but it has become a little hard to have a conversation in there with all the smoke reports

    So DrHyde suggested a discussion channel

    Both channels are on and are called:

    • #cpantesters
    • #cpantesters-discuss

    Copenhagen, Denmark to host YAPC::Europe 2008

    posted by brian_d_foy on 2007.09.07 10:30   Printer-friendly
    barbie writes "The YAPC::Europe Foundation is pleased to announce that Copenhagen, Denmark has been chosen as the site for YAPC::Europe 2008, the ninth European YAPC.

    Copenhagen faced stiff competition from Braga, Portugal, which hosted a memorable YAPC::Europe in 2005. This year also marked the first submission from a group unaffiliated with Perlmongers: the Informatics department of Wellcome Trust Sanger Institute in Cambridge, United Kingdom. We hope that both these groups will give us the opportunity to consider their proposals again in the future.

    We are confident that's experienced team — which was responsible for several Nordic Perl Workshops — will put together a wonderful conference. "

    Changes.yml specs v0.01

    Journal written by RGiersig (3217) and posted by brian_d_foy on 2007.09.07 6:50   Printer-friendly
    OK, I'll bite. Here is a first rough draft for discussion and brain-storming, please post suggestions for add'l hash keys. Basic format of Changes.yml should be a stream of hashes, each hash defining one release.

    Quick Security Fix For the Day

    Journal written by Ovid (2709) and posted by brian_d_foy on 2007.09.07 5:20   Printer-friendly

    You know, I should really start making a list of quick security fixes for people.

    $ ack -al '(?<!#)\s*use.+CGI::Carp\s.*fatalsToBrowser' | wc -l

    Or to make it even easier :)

    $ vim $(ack -al '(?<!#)\s*use.+CGI::Carp\s.*fatalsToBrowser' | wc -l)

    You could also do that with perl -pi.bak, but I don't care to automate fixing security issues. You want to look at those directly The above, for example, won't recognize POD. Of course, it also won't recognize CGI::Carp->import('fatalsToBrowser').

    The Perl Review, Fall 2007, with even more Perl

    Journal written by brian_d_foy (44) and posted by brian_d_foy on 2007.09.07 5:18   Printer-friendly
    The Fall 2007 issue of The Perl Review comes out next Monday. We're starting of our fourth year of the print version (and close to seventh overall!). This time around we have a spiffy, new design that packs in more Perl into the same number of pages, keeping the costs the same but giving you more Perl for it. Subscribe to get access to all past issues as PDFs and to have The Perl Review show up in your mailbox.

    In this issue:

    • Templating My Output -- Alberto Simões
    • Making My Own CPAN -- brian d foy
    • Programming Parrot: NCI -- Jonathan Scott Duff
    • Komodo Test Drive -- Jim Brandt
    • Named Captures in Perl 5.10 -- brian d foy
    • and other stuff

    We're always looking for people with good Perl stories to tell to, and you can submit an article idea.

    yapc: Frozen Perl 2008 Call for Speakers

    posted by brian_d_foy on 2007.09.07 1:38   Printer-friendly
    autarch writes "Frozen Perl 2008 will be a one-day workshop in sunny Minneapolis on Saturday, February 16, 2008. We've officially opened up our Call for Speakers, and we're looking forward to your submissions. Our workshop theme is "Perl in Practice", so practical submissions are encouraged."

    Teach-In Videos

    Journal written by davorg (18) and posted by brian_d_foy on 2007.09.06 6:15   Printer-friendly

    I meant to mention this a few weeks ago, but I've been off gallivanting around New Zealand.

    Jonathan Tweed from the BBC has finished putting together videos from all of the Teach-In sessions. You can get them (in various formats) from his account.

    One small caveat. The batteries on the radio mike ran out about fifteen minutes before the end of the last session, so we have no usable audio for that time. We'll know better next time.

    Thanks to Jonathan for all the work he's put in on this. I'm not sure I'd want to spend as long as he has listening to my voice!

    IPC::System::Simple v0.06

    Journal written by pjf (2464) and posted by brian_d_foy on 2007.09.06 4:15   Printer-friendly

    IPC::System::Simple v0.06
    IPC::System::Simple v0.06 has been released, and should be hitting a CPAN mirror new you shortly. The new release includes:

    • No more spurious warnings when we can't find commands (all systems).
    • Multi-arg calls to run() never use the shell under Win32, even though multi-arg calls to system() sometimes do.
    • Native 16-bit exit values are available on Win32 systems, provided the multi-arg form of run() is used.
    • Better support on older Perl distributions, particular 5.6.1 under Win32.

    Changes.yml spec?

    Journal written by LTjake (4001) and posted by brian_d_foy on 2007.09.05 22:07   Printer-friendly

    I was browsing through the solr-ruby project svn directory when i can across CHANGES.yml (sample below):

    Journal written by g0n (7231) and posted by brian_d_foy on 2007.09.05 13:15   Printer-friendly
    Various things went wrong with my attempt to set up PM group(s) in the north of England. But a trip to Vienna has my enthusiasm all fired up again, so it's time for another attempt.

    There is a new mailing list is at

    The plan is to restart, and have an inaugural meeting on (tentative) 7th December. Interested? Join the mailing list.

    Jonathon Rockway throws down the gauntlet on Object::Tiny

    Journal written by Alias (5735) and posted by brian_d_foy on 2007.09.04 6:33   Printer-friendly
    In what I'm sure he meant to be a throwaway rhetorical question, Jonathon asks:

    > Why bother when Class::Accessor::* already does the same thing?
    OH IT'S SO ON! :)

    Test::Harness 2.99_01

    Journal written by Ovid (2709) and posted by brian_d_foy on 2007.09.03 13:41   Printer-friendly
    As most of you know, Andy Armstrong, Eric Wilhelm, Leif Eriksen and myself have been working hard to get the new version of Test::Harness out there (Michael Peters, also, but that's for TAP archives for Smolder). You can now download Test::Harness 2.99_01 from the CPAN.

    Monkey patching CPAN distros with

    Journal written by autarch (914) and posted by brian_d_foy on 2007.09.03 9:46   Printer-friendly

    Florian Ragwitz, a Perl guy and Debian developer, brought to my attention a really cool new feature in recent versions of, called "Distroprefs". It allows you to configure to do various custom "things" when installing a distro. One major use case is automating interactive installers with Expect, which is obviously useful.

    ActivePerl is almost everywhere now

    Journal written by brian_d_foy (44) and posted by brian_d_foy on 2007.09.02 18:59   Printer-friendly
    The Gecko isn't just for Windows anymore.

    I must have missed the news from ActiveState that ActivePerl now runs on Mac OS X. Actually, it's now on Windows, Linux, Solaris, HP-UX, and AIX too. I guess I should have figured ActivePerl had made it to the Mac when Komodo did, but I never thought to actually use it.

    I've now installed it, and I see that it comes with the Mac::Carbon and Mac::Glue module, along with a lot of other Mac::* stuff. Very cool. I'll have to wait to play with it. I was just checking some facts for a Komodo article in the next issue of The Perl Review , so I can't get too distracted right now.

    And hey, AIX but no FreeBSD? :)

    Seeing what I missed at YAPC::EU Vienna

    Journal written by brian_d_foy (44) and posted by brian_d_foy on 2007.09.02 15:08   Printer-friendly
    Now that YAPC::EU in Vienna is over, I went looking for all the presentations and other things I missed:

    CPAN Testers Statistics - August Update

    Journal written by barbie (2653) and posted by brian_d_foy on 2007.09.02 4:57   Printer-friendly

    CPAN Testers Statistics

    The heat is on for Chris Williams, he only thought Dave Cantrell was chasing his heels, but Andreas König has also stepped up his game too. It has been a staggering month for the sheer volume of reports. In fact halfway through the month I did a quick check to see the current state of testing, and discovered that after only 15 days of testing in August, there nearly as many reports as there were for the whole of July! Andreas was less than 1000 reports behind Chris and Dave was less than 1500 behind Chris. However, Chris certainly rose to the challenge.

    Today's News | September 9 | September 7  >