I think those are two good points, but I think part of it is also just mindset of the programmers. Perl has a whole lot of functions that do similar things, as it borrows from many different languages. For instance, someone who's only dealt with perl might wonder why someone would ever do:
$string = join ( $replace, split ( $search, $string ) );
Which is roughly equivalent to:$string =~ s/$search/$replace/g;
Personally, I did my time with Fortran, and I like the power of formats in it... but I don't think I've ever used write in perl. I'm more likely to use printf. One of these days, I'll actually get around to implementing a (s)printf that supports the LPC extensions like column mode, table mode, and arrays.
Oh -- and for 'nicely formatted' HTML, there's always preformatted text. After implementing it, the preformatted versions got more hits than the HTML table versions. (they even gave up on the table formatting ... too bad I never got preformatted promoted above the paragraph style)
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||