Skip to content

Instantly share code, notes, and snippets.

#!perl
use v5.18;
use strict;
use warnings;
use Test::More;
use Test::Fatal;
@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;[email protected]&gt;</string>
This file has been truncated, but you can view the full file.
[?25l▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀[38;2;98;224;255;48;2;111;198;
#!perl
use v5.38;
use experimental 'class', 'builtin', 'try';
use builtin 'blessed';
use Time::HiRes qw[ sleep ];
use Carp qw[ confess ];
## -----------------------------------------------------------------------------
#!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';
use Data::Dumper;
use MOP;
class Baz {
method bling { 'BLING' }