Skip to content

Instantly share code, notes, and snippets.

#!perl
use v5.38;
use experimental 'class';
use Data::Dumper;
use MOP;
class Baz {
method bling { 'BLING' }
#!perl
use v5.38;
package Test::Foo;
use v5.38;
use experimental 'class';
sub get_bar (@args) {
Test::Foo::Bar->new( @args )
#!perl
use v5.38;
use experimental 'class', 'builtin', 'try';
use builtin 'blessed';
use Time::HiRes qw[ sleep ];
use Carp qw[ confess ];
## -----------------------------------------------------------------------------
This file has been truncated, but you can view the full file.
[?25l▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀[38;2;98;224;255;48;2;111;198;
@stevan
stevan / ModernPerl.tmLanguage
Created September 19, 2018 18:14
Slightly tweaked Perl and Modern Perl Sublime/TextMate Syntax files that handle syntax for decorators.pm
<?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>
#!perl
use v5.18;
use strict;
use warnings;
use Test::More;
use Test::Fatal;
#!perl
use strict;
use warnings;
use Test::More;
use Data::Dumper;
=pod
@stevan
stevan / sloc.pl
Last active November 18, 2015 15:56
#!perl
use v5.20;
use warnings;
use Path::Class qw[ file ];
use PPI;
use PPI::Document;
use PPI::Dumper;
#!/usr/bin/env perl
use v5.16;
use Bread::Board;
use Data::Dumper;
{
package OurApp::ServiceDiscovery;
use Moose::Role;

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.