Skip to content

Instantly share code, notes, and snippets.

View lopnor's full-sized avatar

Nobuo Danjou lopnor

View GitHub Profile
#!/usr/bin/perl
use strict;
use warnings;
print "Hello, Gist.vim!\n";
#!/usr/bin/perl
use strict;
use warnings;
print "Hello, Gist.vim!\n";
#!/usr/bin/perl
package MyBase;
use Mouse;
has something => (
isa => 'Str',
is => 'ro',
default => 'foo',
);
package GourmetClub::Base::Controller::Resource;
use strict;
use warnings;
use parent qw(Catalyst::Controller);
use MRO::Compat;
use Digest::SHA1 qw(sha1_base64);
__PACKAGE__->config(
{
use strict;
use warnings;
use utf8;
use Test::More tests => 8;
use Digest::SHA1 qw(sha1_base64);
BEGIN { use_ok 'Test::WWW::Mechanize::Catalyst', 'MyApp' }
BEGIN { use_ok 'MyApp::Controller::Admin' }
BEGIN { use_ok 'MyApp::Schema' }
#!/usr/bin/perl
use strict;
use warnings;
use FindBin;
use Web::Scraper;
use YAML;
use URI;
my $file = shift;
#!/usr/bin/perl
# get_alphabets.pl
use strict;
use warnings;
use lib 'lib';
use Geography::JapanesePrefectures;
use WebService::Simple;
use Data::Dumper;
#!/usr/bin/perl
# get_alphabets.pl
use strict;
use warnings;
use lib 'lib';
use Geography::JapanesePrefectures;
use WebService::Simple;
use Data::Dumper;
use charnames ':full';
#!/usr/bin/perl
use strict;
use warnings;
use utf8;
use Web::Scraper;
use LWP::Simple ();
use YAML;
use URI;
binmode(STDOUT, ':utf8');
#!perl
use strict;
use warnings;
use utf8;
use Text::MeCab::Dict;
use File::Basename;
use Path::Class;
use Carp qw(confess);
{