Quick Upload

Acme::EyeDrops

from polettix, 4 months ago Add as contact

1279 views | 0 comments | 0 favorites | 2 embeds (Stats)

Meet a fantastic Perl module to transform your scripts from something boring to something awesome, retaining the functionality!

Video available at http://yapc.tv/2008/ye/lt/lt2-10-polettix-perl-made-beautiful/

Embed customize close
 

More Info

This slideshow is Public
CC Attribution License

Views: 1279 Comments: 0 Favorites: 0 Downloads: 9

View Details: 1276 on Slideshare
3 from embeds
Most viewed embeds (Top 5): (…more)
All Embeds: (less)
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this slideshow as inappropriate.

If needed, use the feedback form to let us know more details.

Loading...
Flash Player 9 (or above) is needed to view slideshows. We have detected that you do not have it on your computer. To install it, go here.
Post to Twitter Post to Twitter
Share on Facebook Share on Facebook
Post to Blogger Post to Blogger
Myspace Hi5 Friendster Xanga LiveJournal Facebook Blogger Tagged Typepad Freewebs BlackPlanet gigya icons

Presentation Transcript

  1. Slide 1:Perl Made Beautiful
  2. Slide 2: LE OP Perl Made Beautiful P E Z Y L A O R F
  3. Slide 3: sub _load_ff3 { my ($self, $file) = @_; my $cookies; my $query = 'SELECT host, path, name, value, isSecure, expiry ' . ' FROM moz_cookies'; eval { require DBI; my $dbh = DBI->connect('dbi:SQLite:dbname=' . $file, '', '', {RaiseError => 1}); $cookies = $dbh->selectall_arrayref($query); $dbh->disconnect(); Code 1; } or eval { require 5.008_000; # for >3 arguments open, which is safer open my $fh, '-|', $SQLITE, $file, $query or die $!; $cookies = [ map { [ split /\\|/ ] } <$fh> ]; 1; } or do { carp \"neither DBI nor pipe to sqlite3