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
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|