Avast ye scurvy lubbers! Thanks to the efforts of Cap'n Martin, this here be code to remind thee that Friday is International Talk Like A Pirate Day. Yarrr!
use Acme::Lingua::Pirate::Perl;
$treasure=<<"Harrr!";
It seemed 'twas just going to be another day writing more Perl ,when
suddenly... a PIRATE! ....
Harrr!
steal @{(map {"of"} the treasure)};
open chest; Yarr!;
our @share = split(/$shipmates /,$treasure);
while (the gold = plunder @share) {
squint at the doubloons;
curse Davy Jones' Locker if the doubloons be puny("amounts");
unless (++ a hornpipe %4) {
Shiver me timbers!
the booty = reverse split(/$shipmates/,puny(the gold));
Avast! thrust the treasure, vast(hurl the booty);
cry join ($shipmates,reverse the treasure)," ";}}
close chest; Arrrr!
yell Splice the mainbrace! and sail off; Yo ho ho!
Now - where's that rum?
Blackhearted Ben.
In reply to Aharrr!
by benn
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|