This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/brian/bin/perls/perl5.20.0 | |
use v5.10; | |
say "ARGV is @ARGV"; | |
use Mojolicious::Lite; | |
my $default_index = 'index.html'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# http://blogs.perl.org/users/jt_smith/2014/09/logically-and-yourself.html | |
use strict; | |
use Ouch; | |
use Benchmark qw(:all); | |
use List::MoreUtils qw(any); | |
use v5.10; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
BEGIN { | |
my $home = $ENV{HOME}; | |
%ENV = (); | |
$ENV{PATH} = '/usr/bin:/usr/local/bin'; | |
$ENV{HOME} = $home; | |
} | |
use Mojolicious::Lite; | |
use Data::Dumper; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/brian/bin/perls/perl5.22.0 | |
use utf8; | |
use Encode qw(encode decode); | |
use v5.10; | |
use open qw(:std :utf8); | |
use Data::Dumper; | |
use HTTP::Tiny; | |
use Devel::Peek; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/brian/bin/perls/perl5.22.0 | |
use open qw(:std :utf8); | |
use v5.10; | |
use HTTP::Tiny; | |
use Devel::Peek qw(Dump); | |
use Encode qw(decode find_encoding); | |
use HTML::HeadParser; | |
my $ht = HTTP::Tiny->new; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/brian/bin/perls/perl5.22.0 | |
use open qw(:std :utf8); | |
use v5.10; | |
use Mojo::UserAgent; | |
use Devel::Peek qw(Dump); | |
use Encode qw(decode find_encoding); | |
use HTML::HeadParser; | |
my $ua = Mojo::UserAgent->new; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/brian/bin/perls/perl5.22.0 | |
use v5.22; | |
use experimental qw(postderef); | |
no warnings qw(experimental::postderef); | |
use strict; | |
use warnings; | |
use URI::Amazon::APA; | |
use Mojo::UserAgent; | |
use XML::Simple; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/Users/brian/bin/perls/perl5.22.0 | |
use v5.20; | |
use feature qw(signatures); | |
no warnings qw(experimental::signatures); | |
use Data::Dumper; | |
use Mojo::UserAgent; | |
my $ua = Mojo::UserAgent->new; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use File::Find; | |
use List::MoreUtils qw(uniq); | |
use v5.22; | |
use feature qw(postderef signatures); | |
no warnings qw(experimental::postderef experimental::signatures); | |
use Data::Dumper; | |
use PPI::Document; | |
use PPI::Dumper; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CC = clang | |
LD = clang | |
AR = ar | |
MAKE = make | |
PERL = /usr/local/bin/perl | |
RM = rm -f | |
CAT = cat | |
SHELL = /bin/sh | |
LUA = ./3rdparty/dynasm/minilua | |
CP = $(PERL) -MExtUtils::Command -e cp |