Skip to content

Instantly share code, notes, and snippets.

@stevan
stevan / ModernPerl.tmLanguage
Created Sep 19, 2018
Slightly tweaked Perl and Modern Perl Sublime/TextMate Syntax files that handle syntax for decorators.pm
View ModernPerl.tmLanguage
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!--
This file was generated automatically by yaml2plist.pl from ModernPerl.tmLanguage.yaml.ep.
DO NOT edit this file directly. Instead, use yaml2plist.pl to generate it.
-->
<plist version="1.0">
<dict>
<key>comment</key>
<string>Blaise Roth &lt;blaizer@cpan.org&gt;</string>
View bareword slots
#!perl
use v5.18;
use strict;
use warnings;
use Test::More;
use Test::Fatal;
View test.pl
#!perl
use strict;
use warnings;
use Test::More;
use Data::Dumper;
=pod
View sloc.pl
#!perl
use v5.20;
use warnings;
use Path::Class qw[ file ];
use PPI;
use PPI::Document;
use PPI::Dumper;
View gist:5375448
#!/usr/bin/env perl
use v5.16;
use Bread::Board;
use Data::Dumper;
{
package OurApp::ServiceDiscovery;
use Moose::Role;
View 2012-12-xx.pod

Have REST-ful Holidays

Your boss comes to you the day after Thanksgiving vacation (or if you're in Scotland, the day after St. Andrew's Bank Holiday. If you're not in Scotland or the US, adjust accordingly).

Boss: We need a Web API for the Flibber data. I want it to be REST-ful.
@stevan
stevan / oslo.pm-moose-hackathon-info.mkd
Created May 5, 2012 — forked from sjn/oslo.pm-moose-hackathon-info.mkd
Moving to Moose 2012 hackathon status
View oslo.pm-moose-hackathon-info.mkd

Moving to Moose hackathon 2012

Oslo Perl Mongers would like to invite to a Moving to Moose double-hackathon near Stavanger, Norway! We're planning four full days of hacking, discussion and fun at the Preikestolen Fjellstue conference hotel. And if the weather allows it, we'll do a 5+5km hike to Preikestolen and back!

The hackathon topic is two-fold: Getting a proper Meta Object Protocol into Perl5 core, and moving CPAN modules to Moose. We're specifically inviting two communities - the #p5-mop and #perlrdf crowds.

With that said, the hackathon is also open for others! We intend on allowing commercial attendees too, and hope the high-bandwith discussions, hacking and networking will function as a great door-opener for anyone who wants to become part of the Perl community.

The #perlrdf Moose hackathon

@stevan
stevan / oslo.pm-moose-hackathon-info.mkd
Created May 5, 2012 — forked from sjn/oslo.pm-moose-hackathon-info.mkd
Moving to Moose 2012 hackathon status
View oslo.pm-moose-hackathon-info.mkd

Moving to Moose hackathon 2012

Oslo Perl Mongers would like to invite to a Moving to Moose double-hackathon near Stavanger, Norway! We're planning four full days of hacking, discussion and fun at the Preikestolen Fjellstue conference hotel. And if the weather allows it, we'll do a 5+5km hike to Preikestolen and back!

The hackathon topic is two-fold: Getting a proper Meta Object Protocol into Perl5 core, and moving CPAN modules to Moose. We're specifically inviting two communities - the #p5-mop and #perlrdf crowds.

With that said, the hackathon is also open for others! We intend on allowing commercial attendees too, and hope the high-bandwith discussions, hacking and networking will function as a great door-opener for anyone who wants to become part of the Perl community.

The #perlrdf Moose hackathon

@stevan
stevan / oslo.pm-moose-hackathon-info.mkd
Created Mar 30, 2012 — forked from sjn/oslo.pm-moose-hackathon-info.mkd
Moving to Moose 2012 hackathon status
View oslo.pm-moose-hackathon-info.mkd

Moving to Moose hackathon 2012

Oslo Perl Mongers would like to invite to a Moving to Moose double-hackathon near Stavanger, Norway! We're planning four full days of hacking, discussion and fun at the Preikestolen Fjellstue conference hotel. And if the weather allows it, we'll do a 5+5km hike to Preikestolen and back!

The hackathon topic is two-fold: Getting a proper Meta Object Protocol into Perl5 core, and moving CPAN modules to Moose. We're specifically inviting two communities - the #p5-mop and #perlrdf crowds.

With that said, the hackathon is also open for others! We intend on allowing commercial attendees too, and hope the high-bandwith discussions, hacking and networking will function as a great door-opener for anyone who wants to become part of the Perl community.

The #perlrdf Moose hackathon

View gist:1982451
-module(mydemo_resource).
-export([init/1, to_html/2]).
-include_lib("webmachine/include/webmachine.hrl").
init(Config) ->
{ok, undefined}.
to_html(ReqData, State) ->
{"<html><body>Hello, new world</body></html>", ReqData, State}.
You can’t perform that action at this time.