This is my first Perl Monks poem (or Perl poem for that matter). I am still a newbie programmer so I had limited options to express my ideas but I am very happy with how it turned out. Please feel free to /msg me about any of my nodes including this one. Hope you like it!!
#!/usr/bin/perl
$perl="hashable_language";
$language{$perl}=
"hashable language"
$C="unhashable_language";
$language{$C}=
"unhashable_language;
print "perl, perl, perl the $perl language. So much better than a $C.
+When you see a $C and compare it to a $perl you may want to hurl!\n";
$Favoritelanguage=<STDIN>;
chomp $Favoritelanguage;
if (Favoritelanguage eq "Perl!") {
print "hash all you like for end is never in sight, only when the RAM
+is at the end of it's capacity like THE Llama in the sand.\n";
} else {
print "in this language, hash is only a dream, for only in your dreams
+ will it SEEM possible.\n";
THE END
Hope you liked it!
-@rocks
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.