Thanks to the power of CPAN, this is an easy problem to solve.

#! /usr/local/bin/perl -w use Acme::DonMartin; sittzle klikrunk snork blooma shlikle crugazunch stroinggoink kik praw +k shik fip skroinch glika skribble gloydoip aaak sklerch tear gloot sput +z pat shlikle whomp krakkle spmam fush pwadak shpork bluka flork skwako oof shploip paf kridit zizzak fliff bahoo tip bap gashplutzga snikker aaak blut pluf rrrrrr glont snat shklink fwaddapp tippity sklukle schlip shpishle klang tear plapf pluf sklortch flut kaboomm gloochle pflap blapple sazzikk phoon dakkadak spamamp glomp thloop skrak aaak kik pittooie shnip tood skreee shklizzortch glomp skluk swizap vroon swizap fween skapasch pam spopple stroinggoink slurp zazik deebe koong fashklork zazik sworf fwap kik gloydoip dubba shpishle shpliple teeoo phwam glink glink pwadak floba wink kaheeee dugga twong zlitz fidip zlitz foomp mabbit tok skroik sput

Explaining the algorithm is left as an exercise to the student. Or teacher.

• another intruder with the mooring in the heart of the Perl


In reply to Re: Hi Perlmonks, I have need to write a script to do the following by grinder
in thread Hi Perlmonks, I have need to write a script to do the following by timvzid1

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.