view release on metacpan or search on metacpan
version: 0.03
abstract: Simple Object Interface to AsciiArtFarts
author:
- Luke Poskitt <ltp@cpan.org>
license: perl
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires:
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/AsciiArtinator.pm view on Meta::CPAN
push @tokens, $token;
if ($sigil) {
push @contexts, "name";
} elsif ($contexts[-1] =~ /regular expression ([ABC]) \/(.)\//) {
push @contexts, "regular expression modifier";
my $regex_type = $1;
my $terminator = $2;
# with some modifiers we can be more flexible with the earlier tokens ...
# e - second pattern is an expression that can be flexible
# x - first and/or second pattern can contain whitespace
lib/Acme/AsciiArtinator.pm view on Meta::CPAN
}
}
$i -= length($token) + length($regex) - $t2 - 1;
} elsif ($token =~ /e/ && $tokens[-2] =~ /^s/) {
if ($regex_type eq "B") { # s///, tr///, y///
pop @tokens;
pop @contexts;
my $regex = pop @tokens;
my $regex_context = pop @contexts;
my $terminator2 = $terminator;
view all matches for this distribution
view release on metacpan or search on metacpan
}
},
"release_status" : "stable",
"resources" : {
"repository" : {
"type" : "git",
"url" : "https://github.com/ThisUsedToBeAnEmail/Acme-AsciiEmoji.git",
"web" : "https://github.com/ThisUsedToBeAnEmail/Acme-AsciiEmoji"
}
},
"version" : "1.04",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/AtIncPolice.pm view on Meta::CPAN
my $location = @line == 1 ? " at $filename[0] line $line[0]." :
join "\n", map " at $filename[$_] line $line[$_].", (0 .. $#filename);
my($_p, $p) = ($self, $self->parent);
while($p){
my $s_type = ref $p->{storage};
my $s = $p->{storage};
if($s_type eq 'HASH'){
push @msg, "{$_p->{__key}}";
}elsif($s_type eq 'ARRAY'){
push @msg, "[$_p->{__point}]";
}
$_p = $p;
last if ! ref $p or ! ($p = $p->parent);
}
lib/Acme/AtIncPolice.pm view on Meta::CPAN
} elsif($op->{value}) {
return unless $value;
}
}
# debug type
my $value = $self->_debug_message($args{value}, $op->{debug}, $args{filter});
# debug_value checking
return unless $self->_matching($self->{options}->{debug_value}, $value);
# use scalar/array/hash ?
return unless grep lc($class) eq lc($_) , @{$op->{use}};
view all matches for this distribution
view release on metacpan or search on metacpan
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
view all matches for this distribution
view release on metacpan or search on metacpan
t/10_live.t view on Meta::CPAN
ok($INC{'parent.pm'}, 'nested module');
ok(UNIVERSAL::can('Cwd::Guard', 'cwd_guard'), 'require');
ok(defined \&cwd_guard, 'import');
{
my $scope = cwd_guard "..";
ok($scope, "prototype first pass");
}
unlink("lib/parent.pm"); # Does not come standard with perl 5.8.8
ok(unlink("lib/Cwd/Guard.pm"), 'unlink');
ok(rmdir("lib/Cwd"), 'rmdir');
view all matches for this distribution
view release on metacpan or search on metacpan
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/AwesomeQuotes.pm view on Meta::CPAN
use Unicode::Normalize qw(NFC NFD);
# ABSTRACT: Make your text awesome!
my %chartypes = (
'all' => qr/[\x{030C}\x{0300}\x{0301}]/,
'notgrave' => qr/[^\P{NonspacingMark}\x{0300}]/,
'notacute' => qr/[^\P{NonspacingMark}\x{0301}]/,
'notcaron' => qr/[^\P{NonspacingMark}\x{030C}]/,
'puncsep' => qr/[\p{Separator}\p{Punctuation}]/,
);
sub GetAwesome {
(my $string = NFD($_[0])) =~ s/(?:^${chartypes{puncsep}}+|${chartypes{puncsep}}+$)//g;
eval {checkstring($string)} or croak $@;
# For individual characters, use a caron instead of terminal acute/grave accents:
if ($string =~ /^\p{Letter}\p{NonspacingMark}*$/) {
# Prep string â remove extant carons/accents:
$string =~ s/^(\p{Letter}${chartypes{notcaron}}*)${chartypes{all}}+(${chartypes{notcaron}}*)$/$1$2/;
# Make string awesome!
$string = NFC($string);
$string =~ s/^(.*)$/`$1\x{030C}´/;
}
lib/Acme/AwesomeQuotes.pm view on Meta::CPAN
? "\x{030C}" : "\x{0300}";
my $finalaccent = ($string =~ s/(\p{Letter}\p{NonspacingMark}*)[\x{0300}\x{030C}]+(\p{NonspacingMark}*)$/${1}${2}/g)
? "\x{030C}" : "\x{0301}";
# Prep string â remove extant terminal acute/grave accents:
$string =~ s/^(\p{Letter}${chartypes{notgrave}}*)\x{0300}/$1/;
$string =~ s/(\p{Letter}${chartypes{notacute}}*)\x{0301}(${chartypes{notacute}}*)$/$1$2/;
# Make string awesome!
$string = NFC($string);
$string =~ s/^(\p{Letter}\p{ModifierLetter}*)/`${1}${initialaccent}/;
$string =~ s/(\p{Letter}\p{ModifierLetter}*)$/${1}${finalaccent}´/;
lib/Acme/AwesomeQuotes.pm view on Meta::CPAN
sub checkstring {
my $string = $_[0];
if ($string eq '') {
die "String is empty!\n";
}
elsif ((($string =~ /^`\p{Letter}${chartypes{notgrave}}*\x{0300}/) &&
($string =~ /\p{Letter}${chartypes{notacute}}*\x{0301}${chartypes{notacute}}*´$/)) ||
($string =~ /^`\p{Letter}${chartypes{notcaron}}*\x{030C}${chartypes{notcaron}}*´$/)) {
die "String '$string' is *already* awesome!\n";
}
elsif ($string !~ /^\p{Letter}/) {
die "String '$string' begins with a non-letter character.\n";
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/BABYMETAL.pm view on Meta::CPAN
my $name_en = $member->name_en;
my $first_name_en = $member->first_name_en;
my $family_name_en = $member->family_name_en;
my $birthday = $member->birthday;
my $age = $member->age;
my $blood_type = $member->blood_type;
my $hometown = $member->hometown;
my $shout = $member->shout;
}
my ($su_metal) = $babymetal->members('SU-METAL');
view all matches for this distribution
view release on metacpan or search on metacpan
abstract: ~
license: ~
author:
- Breno G. de Oliveira <garu@cpan.org>
generated_by: ExtUtils::MakeMaker version 6.42
distribution_type: module
requires:
Test::More: 0
meta-spec:
url: http://module-build.sourceforge.net/META-spec-v1.3.html
version: 1.3
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Backwards.pm view on Meta::CPAN
package Acme::Backwards;
our $VERSION = '1.01';
use Keyword::Declare;
sub import {
keytype OKAY is m{(?:fisle (?&PerlNWS)(?&PerlExpression).*?;|esle (?&PerlNWS).*?;)?+}xms;
keyword rof (/(my\s*\$\w+)?/ $declare, Expr $test, /.+?;$/ $code) {_backwards('for', ($declare ? $declare : ()), $test, $code);};
keyword fi (Expr $test, /.+?;/ $code, OKAY @next) {_backwards('if', $test, $code)._process_backwards(@next);};
keyword sselnu (Expr $test, /.+?;/ $code, OKAY @next) {_backwards('unless', $test, $code)._process_backwards(@next);};
}
sub _process_backwards {join' ',map{$_=~m/(fisle|esle)(.*)$/;return"_$1"->($2)}@_;}
view all matches for this distribution
view release on metacpan or search on metacpan
},
"license" : [
"http://dev.perl.org/licenses/"
],
"repository" : {
"type" : "git",
"url" : "git://github.com/haarg/Acme-BadFont",
"web" : "http://github.com/haarg/Acme-BadFont"
}
},
"version" : "1.000000",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Be/Modern.pm view on Meta::CPAN
activated.
=cut
sub import {
my ($type) = @_;
my ($ref) = [];
filter_add(bless $ref);
}
view all matches for this distribution
view release on metacpan or search on metacpan
meta-spec:
version: 1.4
url: http://module-build.sourceforge.net/META-spec-v1.3.html
distribution_type: module
generated_by: your humble servant
view all matches for this distribution
view release on metacpan or search on metacpan
"resources" : {
"bugtracker" : {
"web" : "https://github.com/kentnl/Acme-Beamerang-Logger/issues"
},
"repository" : {
"type" : "git",
"url" : "https://github.com/kentnl/Acme-Beamerang-Logger",
"web" : "https://github.com/kentnl/Acme-Beamerang-Logger"
}
},
"version" : "0.001000",
view all matches for this distribution
view release on metacpan or search on metacpan
Extremly short README file for Acme::Beatnik.
I promise I will provide a bigger one for future version ;)
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/BeyondPerl/ToSQL.pm view on Meta::CPAN
our $VERSION = 0.01;
our $DEBUG = 0;
my $Dbh; # database handle
my $Type; # rdbm type
END {
$Dbh->disconnect()
}
view all matches for this distribution
view release on metacpan or search on metacpan
"homepage" : "https://github.com/sanko/Acme-Bitfield.pm",
"license" : [
"http://www.perlfoundation.org/artistic_license_2_0"
],
"repository" : {
"type" : "git",
"url" : "git://github.com/sanko/Acme-Bitfield.pm.git",
"web" : "https://github.com/sanko/Acme-Bitfield.pm"
}
},
"version" : "v1.1.0",
view all matches for this distribution
view release on metacpan or search on metacpan
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Acme-BlahBlahBlah
version: 0.01
version_from: lib/Acme/BlahBlahBlah.pm
installdirs: site
requires:
distribution_type: module
generated_by: ExtUtils::MakeMaker version 6.17
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Module/AutoInstall.pm view on Meta::CPAN
$UnderCPAN = _check_lock(); # check for $UnderCPAN
if ( @Missing and not( $CheckOnly or $UnderCPAN ) ) {
require Config;
print
"*** Dependencies will be installed the next time you type '$Config::Config{make}'.\n";
# make an educated guess of whether we'll need root permission.
print " (You may need to do that as the 'root' user.)\n"
if eval '$>';
}
view all matches for this distribution
view release on metacpan or search on metacpan
# http://module-build.sourceforge.net/META-spec.html
#XXXXXXX This is a prototype!!! It will change in the future!!! XXXXX#
name: Acme-Bleach-Numerically
version: 0.04
version_from: lib/Acme/Bleach/Numerically.pm
installdirs: site
requires:
distribution_type: module
generated_by: ExtUtils::MakeMaker version 6.30
view all matches for this distribution
view release on metacpan or search on metacpan
version: 1.150
abstract: For I<really> clean programs
author:
- Damian Conway <DCONWAY@CPAN.org>
license: unknown
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires:
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/BloodType.pm view on Meta::CPAN
use warnings;
use strict;
=head1 NAME
Acme::BloodType - For those obsessed with celebrities' blood types
=head1 VERSION
Version 0.01
lib/Acme/BloodType.pm view on Meta::CPAN
our $VERSION = '0.01';
=head1 SYNOPSIS
Allows you to model people with different blood-types and see what would
happen if they had a kid. Alpha version handles ABO only for now.
use Acme::BloodType;
# Hooray for gene sequencers
$mary = Acme::BloodType->new({ genotype => "AA" });
$bill = Acme::BloodType->new({ phenotype => "O" });
$baby = $mary->cross($bill);
print "It's a ", $baby->get_bloodtype, "!\n";
=cut
my $alleles = [ "O", "A", "B" ];
my $phenotypes = [ "O", "A", "B", "AB" ];
my $geno_pheno = {
"OO" => "O",
"OA" => "A", "AO" => "A", "AA" => "A",
"OB" => "B", "BO" => "B", "BB" => "B",
lib/Acme/BloodType.pm view on Meta::CPAN
=head1 METHODS
=head2 Acme::BloodType->new(\%specifier)
Create an Acme::Bloodtype object representing a person. You may specify
genotype, phenotype (in which case a genotype is chosen at random), or nothing,
in which case it's all random. Probabilities don't (yet) model real-world
distributions.
=cut
sub new {
my ($class, $init) = @_;
my $self = {};
if (defined $init && defined $init->{'genotype'}) {
return undef unless $geno_pheno->{ $init->{'genotype'} };
$self->{'genotype'} = $init->{'genotype'};
} elsif (defined $init && defined $init->{'phenotype'}) {
my @possible = grep { $geno_pheno->{$_} eq $init->{'phenotype'} } keys %$geno_pheno;
return undef unless @possible;
$self->{'genotype'} = $possible[rand @possible];
} else {
my @possible = keys %$geno_pheno;
$self->{'genotype'} = $possible[rand @possible];
}
return bless $self, $class;
}
=head2 $bt->get_bloodtype
Get the bloodtype (phenotype) of this person. Returns "A", "B", "AB", or "O".
=cut
sub get_bloodtype {
my ($self) = @_;
return $geno_pheno->{ $self->{'genotype'} };
}
=head2 $bt->get_genotype
Get the genotype of this person. Returns a string of two characters, which
may be "A", "B", or "O".
=cut
sub get_genotype {
my ($self) = @_;
return $self->{'genotype'};
}
=head2 $bt1->cross($bt2)
"Mate" one person with the other, producing a result chosen randomly in the
lib/Acme/BloodType.pm view on Meta::CPAN
sub cross {
my ($self, $other) = @_;
die "Uh?" unless $other->isa(__PACKAGE__);
my $from_self = substr $self->get_genotype, int rand 2, 1;
my $from_other = substr $other->get_genotype, int rand 2, 1;
return __PACKAGE__->new({ genotype => $from_self . $from_other });
}
=head1 AUTHOR
Andrew Rodland, C<< <ARODLAND at cpan.org> >>
=head1 BUGS
Please report any bugs or feature requests to
C<bug-acme-bloodtype at rt.cpan.org>, or through the web interface at
L<http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Acme-BloodType>.
I will be notified, and then you'll automatically be notified of progress on
your bug as I make changes.
=head1 SUPPORT
view all matches for this distribution
view release on metacpan or search on metacpan
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
view all matches for this distribution
view release on metacpan or search on metacpan
version: 0.02
abstract: Write individual statements backwards
license: unknown
generated_by: ExtUtils::MakeMaker version 6.30_01
author: David Westbrook <dwestbrook@gmail.com>
distribution_type: module
requires:
Filter::Simple: 0.82
PPI: 1.11
Test::More: 0
meta-spec:
view all matches for this distribution
view release on metacpan or search on metacpan
If you have the Module::Signature module installed, you can verify the
integrity of this distribution by typing:
cpansign -v
Then to install this module type the following:
perl Makefile.PL
make
make test
make install
view all matches for this distribution
view release on metacpan or search on metacpan
New Jersey Gregory Jein Defense Sec. McKinley Penny Priddy
Planet 10 Bari Dreiband-Burman
INSTALLATION
To install this module type the following:
perl Makefile.PL
make
make test
make install
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Buffalo/Buffalo.pm view on Meta::CPAN
Returns 'buffalo'.
=head1 BUFFALO BUGS
Buffalo() cannot be called without arguments, due to the limitations of prototypes.
=head1 SEE ALSO
https://en.wikipedia.org/wiki/Buffalo_buffalo_Buffalo_buffalo_buffalo_buffalo_Buffalo_buffalo
view all matches for this distribution
view release on metacpan or search on metacpan
name: Acme-Buffy
version: 1.6
abstract: ~
author: []
license: perl
distribution_type: module
configure_requires:
ExtUtils::MakeMaker: 0
build_requires:
ExtUtils::MakeMaker: 0
requires: {}
view all matches for this distribution
view release on metacpan or search on metacpan
If the program is interactive, make it output a short notice like this
when it starts in an interactive mode:
Gnomovision version 69, Copyright (C) 19xx name of author
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the
appropriate parts of the General Public License. Of course, the
commands you use may be called something other than `show w' and `show
c'; they could even be mouse-clicks or menu items--whatever suits your
view all matches for this distribution