Nordic Perl Workshop 2012 - June 4-5 in Stockholm, Sweden

On the 4th and 5th of June the 2012 edition of Nordic Perl Workshop takes place
in Stockholm, Sweden. It'll be two days of presentations, hacking, socializing
and other interesting stuff around Perl5, Perl6, the community, projects and
related topics.

Regular attendee fee is 50 EUR and for students a reduced fee at 25 EUR.

Afterwards my hope is to have a hackathon and some touristy stuff for those
who are interested.

In order for the workshop to be great we also need interesting presentations
which my hope is that you attendees will provide! Last submission date is May 6th.

Thanks to Init AB who are sponsoring this year.

See you in Stockholm early June!

To register, submit talks or more information visit the workshop site at
http://act.yapc.eu/npw2012/

/Claes Jakobsson, Stockholm Perl Mongers

Avoiding use_ok in t/00-load.t

There's a discussion on Perl-QA about whether the use of use_ok should be discouraged. I argue that it should be. It really doesn't gain us much, it's historically been buggy, and simply using the module is enough to cause a test failure if the module doesn't compile. So someone asked how to write this t/00-load.t if we didn't have use_ok:

#!perl -T
# -*- mode: cperl ; compile-command: "cd .. ; ./Build ; prove -vb t/00-*.t" -*-

use Test::More tests => 5;

BEGIN {
  use_ok( 'Test::Trap::Builder::TempFile' );
  use_ok( 'Test::Trap::Builder::SystemSafe' );
SKIP: {
    skip 'Lacking PerlIO', 1 unless eval "use PerlIO; 1";
    use_ok( 'Test::Trap::Builder::PerlIO' );
  }
  use_ok( 'Test::Trap::Builder' );
  use_ok( 'Test::Trap' ) or BAIL_OUT( "Nothing to test without the Test::Trap class" );    
}

diag( "Testing Test::Trap $Test::Trap::VERSION, Perl $], $^X" );

Here's a cleaner solution that relies on Perl's "use" builtin and the "if" pragma.

Avoiding use_ok in t/00-load.t

There's a discussion on Perl-QA about whether the use of use_ok should be discouraged. I argue that it should be. It really doesn't gain us much, it's historically been buggy, and simply using the module is enough to cause a test failure if the module doesn't compile. So someone asked how to write this t/00-load.t if we didn't have use_ok:

#!perl -T
# -*- mode: cperl ; compile-command: "cd .. ; ./Build ; prove -vb t/00-*.t" -*-

use Test::More tests => 5;

BEGIN {
  use_ok( 'Test::Trap::Builder::TempFile' );
  use_ok( 'Test::Trap::Builder::SystemSafe' );
SKIP: {
    skip 'Lacking PerlIO', 1 unless eval "use PerlIO; 1";
    use_ok( 'Test::Trap::Builder::PerlIO' );
  }
  use_ok( 'Test::Trap::Builder' );
  use_ok( 'Test::Trap' ) or BAIL_OUT( "Nothing to test without the Test::Trap class" );    
}

diag( "Testing Test::Trap $Test::Trap::VERSION, Perl $], $^X" );

Here's a cleaner solution that relies on Perl's "use" builtin and the "if" pragma.

YAPC::NA is 75% sold out!

With just over 2 months before the conference we’ve sold more than 300 tickets to YAPC::NA 2012 so far! That’s great news. The bad news is that the conference facility maxes out at 400 people, so if you are coming to YAPC, you need to get your badge sooner rather than later. 

Also, we only have a couple more tickets left to sell before the Zero to Perl Workshop is full. And we only have about 10 more spots left for the Hackathon that precedes the conference, which includes the Hardware Hackathon led by Robert Blackwell. 

I don’t want anybody to miss out on the great program we’ve got set for YAPC::NA 2012. So please don’t hesitate, sign up today!

[From the YAPC::NA Blog.]

State of the Velociraptor

At YAPC::EU 2012 Matt S Trout will tell you something about the "State of the Velociraptor":

"What shall we do tonight, mst?"

"Same thing we do every night: Try to conquer the world"

As usual, mst presents a madcap recap of the last year in the perl5 community combined with some thoughts on how both madness and method can inform our approach to our language, community and culture over the next year.

Don't Be Rude (and welcome to meta)

meta is the “meta” blog for blogs.perl.org. It deals with issues surrounding this blog and not about Perl itself.

Recently we’ve seen some strong comments from a few people and we (Dave Cross, Aaron Crane, Aristotle and Ovid) have discussed what to do about it. We’re pretty much in firm agreement that the right answer is to do nothing. For now. All of us agree that censorship is not something we care for but there have been some comments that are teetering over the line and are making blogs.perl.org a less pleasant place to be. So we refer you to the Blogger’s Code of Conduct

  • Responsibility for our own words
  • Nothing we wouldn’t say in person
  • Connect privately first
  • Take action against attacks
  • a) No anonymous comments OR b) No pseudonymous comments
  • Ignore the trolls
  • Encourage enforcement of terms of service
  • Keep our sources private
  • Discretion to delete comments
  • Do no harm
  • Think twice — post once

Call for Sponsors for YAPC::Asia Tokyo 2012

We're now looking for sponsors for YAPC::Asia Tokyo 2012: http://yapcasia.org/2012/news/yapcasia-2012-sponsor.html

We accept sponsorships in increments of 50,000JPY. For our sponsors, we offer to publicize your logo on our pamphlets, and on our site, as well as a dedicated entry for you under our site (example).

If you have swag to give away, we are happy to distribute them at the venue, along with any advertising material (pamphlets or the like). If you are sending someone over to promote, we are happy to arrange something. Please contact us for details at info-at-perlassociation.org.

We hope to see you at the world's largest YAPC!

Get More Out Of Your Meetings

Abigail will give a talk at YAPC::NA 2012 described as:

Many people, specially developers, hate meetings. They have to invest a lot of time, for little reward. Meetings, however, can not be avoided completely. At work, I can easily have a dozen meetings in a week. In this presentation, I will share some ideas and tips we use to make meetings more efficient; so the participants get “more bang for the buck”.

[From the YAPC::NA Blog.]

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl and offering the modern features you’ve come to expect in blog platforms, the site is hosted by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.