This isn't difficult to read, to be honest. Which will please my
boss if no one else.
use warnings;use strict;$_='IPH I were a rich man';s£(\D{3})(\s)(\D+)£
+$3$2$1£;$_[0]=substr($3,1,7);s£($_[0]).{8}(.+)£$1$2£;m£(\D{3})(\D{2})
+(\D+)£;@_=($1,$2);s£(\40)\167£\47\144$1£;$_[2]=ucfirst(lc(substr({},0
+,4)));$_[2]=~s£\163\150£\143\153£;s£\110£\40$_[2]£;s£(\D{12})(\D)(\D+
+)£$1$_[1]\40$2$_[1]$3$_[1]£;$_[2]=lc("\114");s£(.{4})(\145)\162\2(.+)
+£$1\163\164\151$_[2]$_[2]\40\142$2$3£;s£(\D{5})(\D)(\D)(\D{6})(\D)(\D
+)(\D{2})(\D{2})(\D{4})(\D+)£$1$2$3$4$5$6$7$2$3$6$8$5$6$2$9$_[2]$10£;p
+rint($_.chr(0xa));
--
Tom Waddington
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.