Indeed,
that "tutorial" is beyond bad. You gave up -- quite understandably -- before noting this gem (in a section called "PERL - Define A Hash"):
print "Content-type: text/html \n\n"; #HTTP HEADER
#DEFINE SOME ARRAYS
%coins = ("Quarter", 25, "Dime", 10, "Nickle", 5);
%ages = ("Jerry", 45, "Tom", 22, "Vickie", 38);
#PRINT MY HASHES TO THE BROWSER
print "%coins";
print "<br />";
print "%ages";
Geez. I'm sure the noobs will have a swell time with that example (especially in light of everything they've "learned" up to that point).
In response to Lady_Aleena's concerns, I think it'll be better not to draw any further attention to sites like this; even citing them for how bad they are just gets them more attention, which probably moves them perversely higher in the google rankings, and encourages the feeble-minded diletantes who create this kind of doggerel to keep it up.
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.