MongoDBI - has documentation, isa => 'starting point'

Over the past few days I've hacked together some documentation for MongoDBI to serve as a starting point. Its not extensive or complete but it enough for you to get your feet wet.

-Enjoy

Alternative Dancer Templating Engines

Dancer uses a simple model of interfacing with templating engines (based on Dancer::Template::Abstract) and makes it very easy to add support for new engines. Thanks to this, if you're not happy with the default simple engine or with Template Toolkit, there is now a dozen different alternatives to choose from. Let's take a look at some of them.

The bad news is that the Pyle Center did not have a room large...



The bad news is that the Pyle Center did not have a room large enough for our main lecture hall at YAPC::NA 2012. The good news is that 100 meters down the street is the Lowell Center. We’ll be taking over the Lowell Center’s large dining room and setting it up to handle all of you. 

This is where we’ll do our keynote, plenary sessions, Getting The Most Out Of YAPC talk, the lightening talks, etc. 

Introducing here

I've just published the first release of the here module, a mechanism for safely inserting generated code into a compiling program. this can be used to write macros, cut down on boiler plate, and to implement new declarations, all without ever having to parse any perl source code.

you operate on code as data, as you normally would when metaprogramming. then a call to use here $generated_code; injects that code into the compiling source

sub my_0 {map "my \$$_ = 0", @_} # a simple macro

use here my_0 qw(x y z);

results in perl compiling

my $x = 0; my $y = 0; my $z = 0;

and all of those variables are of course in scope after the use here line.

here on metacpan

an example module using here is here::declare, which provides compile time assignment to lexical variables as well as a shortcut for defining constants.

use here::declare;

use my '@foo' => [1, 2, 3];

results in perl compiling

my @foo; BEGIN {@foo = (1, 2, 3)}

or to define a constant:

use const2 DEBUG => 1;

which results in:

sub DEBUG () {1} our $DEBUG; BEGIN {*DEBUG = \DEBUG}

giving you both the $DEBUG constant scalar, and the DEBUG constant subroutine with one simple declaration.

feedback welcome.

We will be posting registration information for YAPC::NA 2012...



We will be posting registration information for YAPC::NA 2012 early next year. However, for now I thought you might like to see the room where we will hold registration next year. This is the Upper Lounge in the Lowell Center. Though the image doesn’t show it, this room is quite large and will more than handle the long lines that form during registration.

We also hope to have multiple registration desks working to make the lines move quickly. 

grep in Perl - filter in Haskell

By using the the grep function in Perl, one can pick elements from a list that match a certain condition. Haskell uses the filter function to do the same work.

Dorm Pricing

We now have pricing for YAPC:NA 2012 for those wishing to stay in the dorms. For a single room the price is $62.65. For a double room the price is $41.80 per person. Both include breakfast each morning, plus this impressive list of amenities. Note that this does not include parking, if that’s something you need.

We’ll open up online registration for the dorms in late February. And you will be able to register for dorms to stay during the workshops and hackathon (June 11 & 12) as well as the the conference itself (June 13-15). You’ll even be able to extend your stay until Saturday June 16th if your flight or other travel doesn’t leave until the next day. 

I’m very pleased to announce that Michael Schwern has...



I’m very pleased to announce that Michael Schwern has agreed to be our keynote speaker at YAPC::NA 2012. He’s got an interesting and diverse portfolio of work in the Perl community, but most of you probably know him as the guy that created Test::More, although my favorite module of his is URI::Find. He’s one of the most entertaining and dynamic speakers the Perl community, and I’m sure this talk will be no exception. 

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 run by Dave Cross and Aaron Crane, with a design donated by Six Apart, Ltd.