view release on metacpan or search on metacpan
lib/Acme/CPANModules/TextDoc.pm view on Meta::CPAN
% cpanmodules ls-entries TextDoc | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=TextDoc -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::TextDoc -E'say $_->{module} for @{ $Acme::CPANModules::TextDoc::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/WorkingWithPDF.pm view on Meta::CPAN
% cpanmodules ls-entries WorkingWithPDF | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=WorkingWithPDF -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::WorkingWithPDF -E'say $_->{module} for @{ $Acme::CPANModules::WorkingWithPDF::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/WorkingWithTree.pm view on Meta::CPAN
% cpanmodules ls-entries WorkingWithTree | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=WorkingWithTree -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::WorkingWithTree -E'say $_->{module} for @{ $Acme::CPANModules::WorkingWithTree::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/WorkingWithURL.pm view on Meta::CPAN
% cpanmodules ls-entries WorkingWithURL | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=WorkingWithURL -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::WorkingWithURL -E'say $_->{module} for @{ $Acme::CPANModules::WorkingWithURL::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/Spreadsheet.pm view on Meta::CPAN
% cpanmodules ls-entries Spreadsheet | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=Spreadsheet -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::Spreadsheet -E'say $_->{module} for @{ $Acme::CPANModules::Spreadsheet::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/WrappingText.pm view on Meta::CPAN
% cpanmodules ls-entries WrappingText | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=WrappingText -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::WrappingText -E'say $_->{module} for @{ $Acme::CPANModules::WrappingText::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/XSVersions.pm view on Meta::CPAN
To install all XS versions of PP modules currently installed on your system:
% perl -MAcme::CM::Get=XSVersions -MModule::Installed::Tiny=module_installed -E'for (@{$LIST->{entries}}) {
next unless module_installed($_->{module}) || $_->{pp_module} && module_installed($_->{pp_module});
say $_->{xs_module};
}' | cpanm -n
(Note: To run the above snippet, you need to install
L<Acme::CPANModules::XSVersions> which you're reading right now, as well as
L<Acme::CM::Get>, L<Module::Installed::Tiny>, and L<cpanm>.)
lib/Acme/CPANModules/XSVersions.pm view on Meta::CPAN
% cpanmodules ls-entries XSVersions | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=XSVersions -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::XSVersions -E'say $_->{module} for @{ $Acme::CPANModules::XSVersions::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/fgets.pm view on Meta::CPAN
% cpanmodules ls-entries fgets | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=fgets -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::fgets -E'say $_->{module} for @{ $Acme::CPANModules::fgets::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/Import/DAVECROSS/ProcessingDatesAndTimes.pm view on Meta::CPAN
% cpanmodules ls-entries Import::DAVECROSS::ProcessingDatesAndTimes | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=Import::DAVECROSS::ProcessingDatesAndTimes -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::Import::DAVECROSS::ProcessingDatesAndTimes -E'say $_->{module} for @{ $Acme::CPANModules::Import::DAVECROSS::ProcessingDatesAndTimes::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/Import/MJGARDNER/ListProcessing.pm view on Meta::CPAN
% cpanmodules ls-entries Import::MJGARDNER::ListProcessing | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=Import::MJGARDNER::ListProcessing -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::Import::MJGARDNER::ListProcessing -E'say $_->{module} for @{ $Acme::CPANModules::Import::MJGARDNER::ListProcessing::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
view all matches for this distribution
view release on metacpan or search on metacpan
devdata/https_mojolicious.io_blog_2017_12_04_day-4-dont-fear-the-full-app view on Meta::CPAN
<p>By now, you must have seen that I keep qualifying my statement as 'toplevel routes'.
Well ok so there is one small difference between Lite and Full, and that difference is how nested routes work.</p>
<p>There are two other keywords, <code>under</code> and <code>group</code>.
<code>under</code> allows routes to share code, like say for authentication.
They also can share parts of their path.
For example, parts of an API that need authentication might be all under <code>/protected</code>.</p>
<pre><code>get '/unsafe' => 'unsafe';
view all matches for this distribution
view release on metacpan or search on metacpan
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
my @urls = ( ... );
my @all_sites = map { $ua->get_p( $_ ) } @urls;
my $all_promise = Mojo::Promise
->all( @all_sites )
->then(
sub { say "They all worked!" },
sub { say "One of them didn't work!" }
);
</code></pre>
<p>The Promises aren't required to do their work in any order, though, so don't base your work on that.</p>
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
my @urls = ( ... );
my @all_sites = map { $ua->get_p( $_ ) } @urls;
my $all_promise = Mojo::Promise
->race( @all_sites )
->then(
sub { say "One of them finished!" },
);
</code></pre>
<h3>Any</h3>
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
use lib catfile( $ENV{HOME}, '.cpan' );
my @mirrors = eval {
no warnings qw(once);
my $file = Mojo::URL->new( 'index.html' );
require CPAN::MyConfig;
map { say "1: $_"; $file->clone->base(Mojo::URL->new($_))->to_abs }
$CPAN::Config->{urllist}->@*
};
die "Did not find CPAN::MyConfig\n" unless @mirrors;
my $ua = Mojo::UserAgent->new;
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
} @mirrors;
my $any_promise = Mojo::Promise
->with_roles( '+Any' )
->any( @all_sites )
->then(
sub { say "At least one of them worked!" },
sub { say "None of them worked!" },
);
$any_promise->wait;
</code></pre>
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
use lib catfile( $ENV{HOME}, '.cpan' );
my @mirrors = eval {
no warnings qw(once);
my $file = Mojo::URL->new( 'index.html' );
require CPAN::MyConfig;
map { say "1: $_"; $file->clone->base(Mojo::URL->new($_))->to_abs }
$CPAN::Config->{urllist}->@*
};
die "Did not find CPAN::MyConfig\n" unless @mirrors;
my $ua = Mojo::UserAgent->new;
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
} @mirrors;
my $some_promise = Mojo::Promise
->with_roles( '+Some' )
->some( \@all_sites, 2 )
->then(
sub { say "At least $count of them worked!" },
sub { say "None of them worked!" },
);
$some_promise->wait;
</code></pre>
devdata/https_mojolicious.io_blog_2018_12_03_higher-order-promises_ view on Meta::CPAN
my $all_promise = Mojo::Promise
->with_roles( '+None' )
->none( @all_sites )
->then(
sub { say "None of them were 404!" },
sub { say "At least one was 404: @_!" },
);
$all_promise->wait;
</code></pre>
view all matches for this distribution
view release on metacpan or search on metacpan
devdata/http_advent.perldancer.org_2018_16 view on Meta::CPAN
my @queues = @{ $hostconfig->{ queues }};
if( $minion->has_invalid_queues( @queues ) ){
print "Invalid job queues specified: " . join( ',',
$minion->get_invalid_queues( @queues ) );
say ". Aborting!";
exit 1;
}
say "Starting Job Queue Worker on " . get_hostname();
say "- Configured to run a max of $max_jobs jobs";
say "- Listening for jobs on queues: ", join(', ', @queues );
$worker->status->{ jobs } = $max_jobs;
$worker->status->{ queues } = \@queues;
$worker->run;</pre>
<p>Remember the YAML file we used to configure things up above? This last bit pulls the information for the host this worker is running on (<code>get_hostname()</code> is a home-grown
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CPANModules/PERLANCAR/Avoided.pm view on Meta::CPAN
% cpanmodules ls-entries PERLANCAR::Avoided | cpanm -n
or L<Acme::CM::Get>:
% perl -MAcme::CM::Get=PERLANCAR::Avoided -E'say $_->{module} for @{ $LIST->{entries} }' | cpanm -n
or directly:
% perl -MAcme::CPANModules::PERLANCAR::Avoided -E'say $_->{module} for @{ $Acme::CPANModules::PERLANCAR::Avoided::LIST->{entries} }' | cpanm -n
This Acme::CPANModules module also helps L<lcpan> produce a more meaningful
result for C<lcpan related-mods> command when it comes to finding related
modules for the modules listed in this Acme::CPANModules module.
See L<App::lcpan::Cmd::related_mods> for more details on how "related modules"
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CatFS.pm view on Meta::CPAN
use warnings;
package Acme::CatFS;
# ABSTRACT: Fuse filesystem with a random pic of a cat
use feature qw(say state);
use Carp;
use Try::Tiny;
use LWP::Simple;
use Fuse::Simple;
lib/Acme/CatFS.pm view on Meta::CPAN
}
my $mountpoint = $self->mountpoint;
my $cat_file = $self->cat_file;
say "Initializing Fuse mountpoint '$mountpoint'... ";
Fuse::Simple::main(
mountpoint => $mountpoint,
debug => $self->debug,
'/' => {
lib/Acme/CatFS.pm view on Meta::CPAN
},
);
}
END {
say "Don't forget run 'fusermount -u <mountpoint>'"
}
=head1 NAME
Acme::CatFS
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Claude/Shell.pm view on Meta::CPAN
=head2 shell
shell(%options);
Start an interactive REPL session. Claude remembers context from previous
commands, so you can say things like "now compress those files".
Options:
dry_run - Preview mode, don't execute commands
safe_mode - Confirm dangerous commands (default: 1)
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Color/Rust.pm view on Meta::CPAN
=head1 SYNOPSIS
use Acme::Color::Rust;
my $color = Acme::Color::Rust->new("red", 0xff, 0x00, 0x00);
say "the color is ", $color->name;
say "with red ", $color->red, " green ", $color->green, " and blue ", $color->blue;
=head1 DESCRIPTION
This class is a very simple RGB color class. It is implemented using Rust. It is
mostly intended as a test for extending perl using Rust concept.
view all matches for this distribution
view release on metacpan or search on metacpan
As its manual states: "The earliest known description of the COME FROM
statement in the computing literature is in [R. L. Clark, "A linguistic
contribution to GOTO-less programming," Commun. ACM 27 (1984), pp.
349-350], part of the famous April Fools issue of CACM. The subsequent
rush by language designers to include the statement in their languages
was underwhelming, one might even say nonexistent. It was therefore
decided that COME FROM would be an appropriate addition to C-INTERCAL."
To Maestro Damian Conway, the source of all magic bits in Hook::LexWrap
and Filter::Simple, on which this module is based.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/ConspiracyTheory/Random.pm view on Meta::CPAN
'the Monopoly man is supposed to have a monocle',
'Kitkat used to have a hyphen',
'the Mona Lisa used to smile more',
'C-3PO never used to have a silver leg',
'Darth Vader said Luke I Am Your Father',
'We Are the Champions used to say "of the world" at the end',
'the USA used to have 52 states',
);
},
sub {
$redstring->{topic} = { name => 'the crusades', plural => 1 };
lib/Acme/ConspiracyTheory/Random.pm view on Meta::CPAN
=head1 SYNOPSIS
use feature 'say';
use Acme::ConspiracyTheory::Random -all;
say bad_punctuation( theory() );
=head1 DESCRIPTION
This module exports a function, C<< theory() >> which returns a string.
view all matches for this distribution
view release on metacpan or search on metacpan
inc/Test/Builder.pm view on Meta::CPAN
}
sub _is_qr {
my $regex = shift;
# is_regexp() checks for regexes in a robust manner, say if they're
# blessed.
return re::is_regexp($regex) if defined &re::is_regexp;
return ref $regex eq 'Regexp';
}
view all matches for this distribution
view release on metacpan or search on metacpan
=head1 SYNOPSIS
use Acme::Cow;
$cow = new Acme::Cow;
$cow->say("Moo!");
$cow->print();
$sheep = new Acme::Cow::Sheep; # Derived from Acme::Cow
$sheep->wrap(20);
$sheep->think();
$sheep->text("Yeah, but you're taking the universe out of context.");
$sheep->print(\*STDERR);
$duck = new Acme::Cow(File => "duck.cow");
$duck->fill(0);
$duck->say(`figlet quack`);
$duck->print($socket);
=head1 DESCRIPTION
Acme::Cow is the logical evolution of the old cowsay program. Cows
are derived from a base class (Acme::Cow) or from external files.
Cows can be made to say or think many things, optionally filling
and justifying their text out to a given margin,
Cows are nothing without the ability to print them, or sling them
as strings, or what not.
=pod
=head2 SAY
Tell the cow to say its text instead of thinking it.
=over 4
=item Parameters
=back
=cut
sub say
{
my $self = shift;
$self->{'mode'} = 'say';
if (@_) {
$self->text(@_);
=pod
=head2 text
Set (or retrieve) the text that the cow will say or think.
=over 4
=item Parameters
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/CreatingCPANModules.pm view on Meta::CPAN
Hence, and since browsers and editors usually open files in their
beginning, it's only reasonable that you put the most recent changes
on the top of the file.
As for what you put in here, it's kind of up to you, but you don't
need to be too technical. If you added some tests, just say "added
some tests". You don't really need to specify which ones and the
purpose of each of them.
[slide] Next up we have the MANIFEST. This is the file that lists
everything that goes into your distribution.
lib/Acme/CreatingCPANModules.pm view on Meta::CPAN
for installation, README, your module, and a bunch of tests.
[slide] Very well, then. Time for the live demo!
[I change to the next workspace and we're set] You know what they say
about live demos? They say "Don't!" O:-)
OK, then, first we'll create our module. [I type `module-starter
--module=Acme::CreatingCPANModules --author='Jose Castro'
--email=cog@cpan.org`]
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/DeepThoughts.pm view on Meta::CPAN
I think a good product would be "Baby Duck Hat". It's a fake baby duck, which you strap on top of your head. Then you go swimming underwater until you find a mommy duck and her babies, and you join them. Then, all of a sudden, you stand up out of the...
I wish I lived back in the old west days, because I'd save up my money for about twenty years so I could buy a solid-gold pick. Then I'd go out West and start digging for gold. When someone came up and asked what I was doing, I'd say, "Looking for go...
A funny thing to do is, if you're out hiking and your friend gets bitten by a poisonous snake, tell him you're going to go for help, then go about ten feet and pretend that you got bit by a snake. Then start an argument with him about whose going to ...
I guess I kinda lost control, because in the middle of the play I ran up and lit the evil puppet villain on fire. No, I didn't. Just kidding. I just said that to help illustrate one of the human emotions, which is freaking out. Another emotion is gre...
Many people think that history is a dull subject. Dull? Is it "dull" that Jesse James once got bitten on the forehead by an ant, and at first it didn't seem like anything, but then the bite got worse and worse, so he went to a doctor in town, and the...
I scrambled to the top of the precipice where Nick was waiting. "That was fun," I said. "You bet it was," said Nick. "Let's climb higher." "No," I said. "I think we should be heading back now." "We have time," Nick insisted. I said we didn't, and Nic...
If you're a Thanksgiving dinner, but you don't like the stuffing or the cranberry sauce or anything else, just pretend like you're eating it, but instead, put it all in your lap and form it into a big mushy ball. Then, later, when you're out back hav...
When I was in the 3rd grade, a bully in school started beating me up every day. At first I didn't say anything, but then I told dad. He got a real scared look on his face and asked if the bully had a big dad. I said I didn't know. But he still see...
I remember that one fateful day when Coach took me aside. I knew what was coming. "You don't have to tell me," I said. "I'm off the team, aren't I?" "Well," said Coach, "you never were really ON the team. You made that uniform you're wearing out of r...
If I ever opened a trampoline store, I don't think I'd call it Trampo-Land, because you might think it was a store for tramps, which is not the impression we are trying to convey with our store. On the other hand, we would not prohibit tramps from br...
I can still recall old Mister Barnslow getting out every morning and nailing a fresh load of tadpoles to the old board of his. Then he'd spin it round and round, like a wheel of fortune, and no matter where it stopped he'd yell out, "Tadpoles! Tadpol...
Once when I was in Hawaii, on the island of Kauai, I met a mysterious old stranger. He said he was about to die and wanted to tell someone about the treasure. I said, "Okay, as long as it's not a long story. Some of us have a plane to catch, you know...
I bet a fun thing would be to go way back in time to where there was going to be an eclipse and tell the cave men, "If I have come to destroy you, may the sun be blotted out from the sky." Just then the eclipse would start, and they'd probably try to...
lib/Acme/DeepThoughts.pm view on Meta::CPAN
To us, it might look like just a rag. But to the brave, embattled men of the fort, it was more than that. It was a flag of surrender. And after that, it was torn up and used for shoe-shine rags, so the men would look nice for the surrender.
If you go to a party, and you want to be the popular one at the party, do this: Wait until no one is looking, then kick a burning log out of the fireplace onto the carpet. Then jump on top of it with your body and yell, "Log o' fire! Log o' fire!" I'...
You know what's probably a good thing to hang on your porch in the summertime, to keep mosquitoes away from you and your guests? Just a big bag of blood.
If you're traveling in a time machine, and you're eating corn on the cob, I don't think it's going to affect things one way or the other. But here's the point I'm trying to make: Corn on the cob is good, isn't it.
When I was a child, there were times when we had to entertain ourselves. And usually the best way to do that was to turn on the TV.
It's easy to sit there and say you'd like to have more money. And I guess that's what I like about it. It's easy. Just sitting there, rocking back and forth, wanting that money.
If I ever become a mummy, I'm going to have it so when somebody opens my lid, a boxing glove on a spring shoots out.
Broken promises don't upset me. I just think, why did they believe me?
What is it about a beautiful sunny afternoon, with the birds singing and the wind rustling through the leaves, that makes you want to get drunk? And after you're real drunk, maybe go down to the public park and stagger around and ask people for money...
If you ever go temporarily insane, don't shoot somebody, like a lot of people do. Instead, try to get some weeding done, because you'd really be surprised.
It's really sad when a family can be torn apart by something as simple as wild dogs.
Sometimes you have to be careful when selecting a new nickname for yourself. For instance, let's say you have chosen the nickname "Fly Head." Normally, you would think that "Fly Head" would mean a person who had beautiful swept-back features, as if ...
I think college administrators should encourage students to urinate on walls and bushes, because then when students from another college come sniffing around, they'll know this is someone else's territory.
I think somebody should come up with a way to breed a very large shrimp. That way, you could ride him, then after you camped at night, you could eat him. How about it, science?
If your friend is already dead, and being eaten by vultures, I think it's okay to feed some bits of your friend to one of the vultures, to teach him to do some tricks. But ONLY if you're serious about adopting the vulture.
At first I thought, if I were Superman, a perfect secret identity would be "Clark Kent, Dentist," because you could save money on tooth X-rays. But then I thought, if a patient said, "How's my back tooth?" and you just looked at it with your X-ray vi...
Marta says the interesting thing about fly-fishing is that it's two lives connected by a thin strand. Come on, Marta. Grow up.
lib/Acme/DeepThoughts.pm view on Meta::CPAN
It's fascinating to think that all around us there's an invisible world we can't even see. I'm speaking, of course, of the World of the Invisible Scary Skeletons.
Once while walking through the mall a guy came up to me and said "Hey, how's it going?". So I grabbed his arm and twisted it up behind his head and said "Now whose asking the questions?"
Sometimes life seems like a dream, especially when I look down and see that I forgot to put on my pants.
Marta was watching the football game with me when she said, "You know, most of these sports are based on the idea of one group protecting its territory from invasion by another group." "Yeah," I said, trying not to laugh. Girls are funny.
It's amazing to me that one of the world's most feared diseases would be carried by one of the world's smallest animals: the real tiny dog.
I hate it when people say somebody has a "speech impediment", even if he does, because it could hurt his feelings. So instead, I call it a "speech improvement", and I go up to the guy and say, "Hey, Bob, I like your speech improvement." I think this ...
I think my new thing will be to try to be a real happy guy. I'll just walk around being real happy until some jerk says something stupid to me.
Instead of mousetraps, what about baby traps? Not to harm the babies, but just to hold them down until they can be removed?
Sometimes I think I would like to be named The Prince of Weasels. As the Prince of Weasels, I could sneak up behind people and bite them. Then they would turn around and say, "what the...oh, it's just you the Prince of Weasels."
If you ever drop your keys into a river of molten lava, forget em', cause, man, they're gone.
If you lived in the Dark Ages, and you were a catapult operator, I bet the most common question people would ask is, "Can't you make it shoot any farther?" No. I'm sorry. That's as far as it shoots.
lib/Acme/DeepThoughts.pm view on Meta::CPAN
Why do people in ship mutinies always ask for "better treatment"? I'd ask for a pinball machine, because with all that rocking back and forth you'd probably be able to get a lot of free games.
I'd like to be buried Indian-style, where they put you up on a high rack, above the ground. That way, you could get hit by meteorites and not even feel it.
If I lived back in the Wild West days, instead of carrying a six-gun in my holster, I'd carry a soldering iron. That way, if some smart-aleck cowboy said something like "Hey, look. He's carrying a soldering iron!" and started laughing, and everybody ...
I bet when the Neanderthal kids would make a snowman, someone would always end up saying, "Don't forget the thick, heavy brows." Then they would all get embarrassed because they remembered they had the big hunky brows too, and they'd get mad and eat ...
There should be a detective show called 'Johnny Monkey'. That way every week a criminal could say, "I ain't gonna get caught by no monkey," but then he would, and I don't think I'd ever get tired of that.
Fear can sometimes be a useful emotion. For instance, let's say you're an astronaught on the moon and you fear that your partner has been turned into Dracula. The next time he goes out for the moon pieces, wham! You just slam the door behind him and ...
Too bad you can't buy a voodoo globe so that you could make the earth spin real fast and freak everybody out.
The people in the village were real poor, so none of the children had any toys. But this one little boy had gotten an old enema bag and filled it with rocks, and he would go around and whap the other children across the face with it. Man, I think my ...
I wish I had a Kryptonite cross, because then you could keep both Dracula AND Superman away.
I don't think I'm alone when I say I'd like to see more and more planets fall under the ruthless domination of our solar system.
Dad always thought laughter was the best medicine, which I guess is why several of us died of tuberculosis.
Maybe in order to understand mankind, we have to look at the word itself: "Mankind". Basically, it's made up of two separate words - "mank" and "ind". What do these words mean? It's a mystery, and that's why so is mankind.
I hope if dogs ever take over the world, and they chose a king, they don't just go by size, because I bet there are some Chihuahuas with some good ideas.
I guess we were all guilty, in a way. We all shot him, we all skinned him, and we all got a complimentary bumper sticker that said, "I helped skin Bob."
I bet the main reason the police keep people away from a plane crash is they don't want anybody walking in and lying down in the crash stuff, then, when somebody comes up, act like they just woke up and go, "What was THAT?!"
One thing vampire children are taught is, never run with a wooden stake.
The face of a child can say it all, especially the mouth part of the face.
Ambition is like a frog sitting on a Venus Flytrap. The flytrap can bite and bite, but it won't bother the frog because it only has little tiny plant teeth. But some other stuff could happen and it could be like ambition.
I'd rather be rich than stupid.
If you were a poor Indian with no weapons, and a bunch of conquistadors came up to you and asked where the gold was, I don't think it would be a good idea to say, "I swallowed it. So sue me."
If you define cowardice as running away at the first sign of danger, screaming and tripping and begging for mercy, then yes, Mr. Brave man, I guess I'm a coward.
I bet one legend that keeps recurring throughout history, in every culture, is the story of Popeye.
When you go in for a job interview, I think a good thing to ask is if they ever press charges.
To me, boxing is like a ballet, except there's no music, no choreography, and the dancers hit each other.
What is it that makes a complete stranger dive into an icy river to save a solid gold baby? Maybe we'll never know.
We tend to scoff at the beliefs of the ancients. But we can't scoff at them personally, to their faces, and this is what annoys me.
If you want to be the most popular person in your class, whenever the professor pauses in his lecture, just let out a big snort and say "How do you figger that!" real loud. Then lean back and sort of smirk.
Probably the earliest flyswatters were nothing more than some sort of striking surface attached to the end of a long stick.
I think someone should have had the decency to tell me the luncheon was free. To make someone run out with potato salad in his hand, pretending he's throwing up, is not what I call hospitality.
To me, clowns aren't funny. In fact, they're kind of scary. I've wondered where this started and I think it goes back to the time I went to the circus, and a clown killed my dad.
As I bit into the nectarine, it had a crisp juiciness about it that was very pleasurable - until I realized it wasn't a nectarine at all, but A HUMAN HEAD!!
Most people don't realize that large pieces of coral, which have been painted brown and attached to the skull by common wood screws, can make a child look like a deer.
lib/Acme/DeepThoughts.pm view on Meta::CPAN
He was a cowboy, mister, and he loved the land. He loved it so much he made a woman out of dirt and married her. But when he kissed her, she disintegrated. Later, at the funeral, when the preacher said, "Dust to dust," some people laughed, and the co...
The memories of my family outings are still a source of strength to me. I remember we'd all pile into the car - I forget what kind it was - and drive and drive. I'm not sure where we'd go, but I think there were some trees there. The smell of somethi...
If a kid asks where rain comes from, I think a cute thing to tell him is "God is crying." And if he asks why God is crying, another cute thing to tell him is "Probably because of something you did."
Contrary to what most people say, the most dangerous animal in the world is not the lion or the tiger or even the elephant. It's a shark riding on an elephant's back, just trampling and eating everything they see.
As we were driving, we saw a sign that said "Watch for Rocks." Marta said it should read "Watch for Pretty Rocks." I told her she should write in her suggestion to the highway department, but she started saying it was a joke - just to get out of writ...
If you saw two guys named Hambone and Flippy, which one would you think liked dolphins the most? I'd say Flippy, wouldn't you? You'd be wrong, though. It's Hambone.
If you're ever shipwrecked on a tropical island and you don't know how to speak the natives' language, just say "Poppy-oomy." I bet it means something.
Laurie got offended that I used the word "puke." But to me, that's what her dinner tasted like.
We used to laugh at Grandpa when he'd head off and go fishing. But we wouldn't be laughing that evening when he'd come back with some whore he picked up in town.
I wish a robot would get elected president. That way, when he came to town, we could all take a shot at him and not feel too bad.
As the evening sky faded from a salmon color to a sort of flint gray, I thought back to the salmon I caught that morning, and how gray he was, and how I named him Flint.
If you're a young Mafia gangster out on your first date, I bet it's real embarrassing if someone tries to kill you.
view all matches for this distribution
view release on metacpan or search on metacpan
DonMartin.pm view on Meta::CPAN
pound, pound sign, number sign, flash, hash, sharp,
grid, crosshatch, octothorpe, square, pig-pen, hex,
tictactoe, scratchmark, crunch, thud, thump, splat.
(and if you say these last few out loud, I think you can begin to
see where this is going). And if you think that's bad, wait until
you hear some of the sillier symbols, like C<%>, C<&> and C<@>.
The first time you run a program under C<Acme::DonMartin>, nothing
happens, but your source code is magically transformed into Don
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/DotDotGone.pm view on Meta::CPAN
vim worldEnding.pl
use Acme::DotDotGone dot;
use feature 'say';
say 'The world is about to end';
1;
perl worldEnding.pl
lib/Acme/DotDotGone.pm view on Meta::CPAN
less worldEnding.pl
use Acme::DotDotGone;
use feature 'say';
say 'The world is about to end';
1
=head1 AUTHOR
view all matches for this distribution
view release on metacpan or search on metacpan
# Read a thought, leaving it in place:
print $string.oO{ }; # Prints "What an ugly hat!"
# Read a thought, replacing it:
print $string.oO("Did I say that out loud?!");
# Prints "What an ugly hat!"
# Empty their mind:
print $string . o O [ '' ];
# Prints "Did I say that out loud?!"
=head1 DESCRIPTION
ESP defies description.
view all matches for this distribution
view release on metacpan or search on metacpan
$rc = $self->query_rc( @args );
$rc = $self->verify( $rc, $state, $tag, $subject, $test );
Here comes rationale.
Writing (or should I say "composing"?) correct {fst} B<A::F> style is hard
(I know what I'm talking about, I've made a dozen already).
The purpose of B<verify()> is to check if the I<{fst}> at hands isn't fubar.
Nothing more, nothing less.
B<query_rc()> is a placeholder for one of B<query_.*()> methods,
I<$test> will be matched against C<ref $rc>.
(while that information is mangled anyway);
Probably bad idea).
=item *
C<undef> is returned if there's nothing to say --
neither I<tturn>, nor I<fturn>, nor turn map --
this record is kind of void.
The record should be studied to find out why.
B<carp>s in that case.
stupid.
C<undef> signals two distinct conditions
(granted, both are manifest of broken I<{fst}>).
Empty string doesn't distinguish safe (both C<tturn> and C<fturn> are present)
and risky (C<tturn> or C<fturn> is missing) I<{state}>.
C<HASH> doesn't say if there's anything in turn map.
All that needs loads of workout.
=back
=cut
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/FishFarm.pm view on Meta::CPAN
my $water_monitor = Acme::FishFarm::WaterConditionMonitor->install;
my $oxygen = Acme::FishFarm::OxygenMaintainer->install( DO_generation_volume => 1.92 );
$water_monitor->add_oxygen_maintainer( $oxygen );
say "Water condition monitor installed...";
say "Oxygen maintainer installed and connected to water condition monitor...";
say "Water condition monitor switched on!";
say "";
while ( "fish are swimming happily" ) {
### DO
check_DO( $oxygen, reduce_precision( rand(8) ) );
say "";
### pH
check_pH( $water_monitor, 6.912 );
#check_pH( $water_monitor, 5.9 );
say "" ;
## temperature
#check_temperature( $water_monitor, 23 );
check_temperature( $water_monitor, 26 );
say "";
## turbidity
check_turbidity( $water_monitor, 120 );
#check_turbidity( $water_monitor, 190 );
say "";
# all LEDs
render_leds( $water_monitor );
say "";
# buzzers
render_buzzer( $water_monitor );
sleep(3);
say "-----------------------------";
}
=head1 EXPORT
The C<:all> tag can be used to import all the subroutines available in this module.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Fork/Lazy.pm view on Meta::CPAN
###
# Single parallel calculation
my $foo = forked { expensive_calculation_to_do_in_parallel() };
# ...then (sooner or later...)
say $foo;
###
# Parallel map
my @list = map forked { sleep $_; $_*2 }, 1..10;
sleep 5; # gives enough time for first 5 elements to be calculated
say $_ for @list;
###
END {
wait_kids; # make sure we're not leaving behind any zombies
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Acme/Free/API/ChuckNorris.pm view on Meta::CPAN
if ($ret->total == 0) {
warn "warning: cnq: no results for '$terms'\n";
exit;
}
foreach my $quote ($quotes->all) {
say $quote->value;
}
=back
=head1 C<cnq> OPTIONS
view all matches for this distribution