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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.