Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Perl(Hello World)

by chacham (Prior)
on Dec 05, 2011 at 18:37 UTC ( [id://941905]=poem: print w/replies, xml ) Need Help??

I wrote some Perl to say hello,
To a world i did not know.
Prepended line numbers there in tow,
I basically told it where to go.

10 ? 'Hello World!\n';

Something there did not quite load,
No matter how i tried to goad,
Quickly then i shifted mode,
And thought i'd see to add the code.

use cout; print << 'Hello World!\n';

But that just didn't work at all,
Did i forget to make a call?
Imagining i was Larry Wall,
I coded the sequel to carry the ball.

query::statement->execute('SELECT "Hello World!\n"');

What's there to object in that line?
On paper it had worked just fine,
Perl is broken...or is that just mine?
No, add a line, and never whine!

procedure perl is begin(print 'Hello World!\n')

Something there was still not right,
But, waste not time and be contrite.
I must put up and win this fight,
Make a web of code to end my plight.

<?perl <print>'Hello World!\n'</print>; ?>

Just when i thought my code was suited,
I found that i was just deluded,
But where had the offending line intruded?
Oh! Just assemble a line to be included.

use LC0.ascii /Hello, world!/; movl $LC0, (%esp);

Why is it that Perl is so frustrating?
I give perfect code, yet it's not abating,
And people love what i start hating?
I need help, if just for tranlsating.

print *, "Hello World!", e\nd

Then again, thrown to the ground,
But i know that my good code is sound!
Perhaps the web has help to be found,
And answer: why does perl monkey around?

I added a node, asking the question,
I posted my code, and made sure to mention,
How perfect it was, (at least in inflection).
I just hope that Poetry is the correct section.

Replies are listed 'Best First'.
Re: Perl(Hello World)
by hbm (Hermit) on Dec 05, 2011 at 19:06 UTC
    Be you pronounced "Chah-Cham",
    as in perhaps, "sha-zam"?
    To you then sir or ma'am,
    Hearty applause, hot damn!

      I thank you h, for your reply,
      May you code on, and never die(),
      To voice my name, (i won't ask why),
      Think "kh", which you can try.

      Amongst the things that can be had,
      There are those things that taste too bad,
      And in disgust, but not too mad,
      We say "(y)uuuchhhh!", but not too sad.

      That "uch" does not rhyme with duck,
      Because then it would be spelled like "yuck",
      Nor does it sound like such,
      As then it would not add too much.

      Of that "ch", and this is key,
      Think of "ich", the German "me",
      The easiest example, i can see,
      (If there is easier, what can it be?)

      Now pronounce that "a" a doctor's "ah",
      Of course that makes the syllable "cha",
      Now say it twice, but like (the Indian) "tawa",
      Surprisingly like saying "tada".

      That is the ultimate syllable has stress,
      But on the end as you may guess,
      That simple "m", you must impress,
      And after that you can digress.

        What a splendid conversation
        Where differences rate no mention
        Gentile maybe is old hat
        But it's none the worse for that

        No axe to grind or ire to raise
        What a refreshing change of pace
        A waste of cycles? May be to some
        But then, perhaps, they're just glumb

        To raise no hackles, nor raucous laugh
        No feeding the trolls "on our behalf"
        You grew a smile upon my face
        I welcome you to this place

        May your demeanour rub off on me
        To step outside of me and see
        the bigger picture; all around
        To smile, where once I frowned

        Who gives a monkey's if I misspell
        If the question's less Perl; more SQL
        Vive la différence; live and let live
        T'is no obligation; but a pleasure to give

        Pure distraction; no purpose in mind
        Your posts are a pleasure of the purest kind.
        For the simple smile you brought to my day
        I hope "Thank you" is all I need say


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.

        The start of some sanity?

Re: Perl(Hello World)
by Tux (Canon) on Dec 05, 2011 at 19:44 UTC
    There I went in sudden haste to tell the author of this prose it caused a big smile on my face your statement is verbose

    Enjoy, Have FUN! H.Merijn
Re: Perl(Hello World)
by cavac (Parson) on Dec 09, 2011 at 18:11 UTC

    Nice. Very nice, indeed! Thanks!

    You just gained the rare privilege to have your poem posted on my (hard copy) "best of internet" poster wall in my office!

    Don't use '#ff0000':
    use Acme::AutoColor; my $redcolor = RED();
    All colors subject to change without notice.
      Heh, thanx.

      A pic of you wall would be nice. :)

        I know. But we're not allowed to take any kind of photos at work except when required by police and/or insurance. So unless some breaks his leg while looking at the post wall...

        But i'll see what i can do ;-)

        BREW /very/strong/coffee HTTP/1.1
        Host: goodmorning.example.com
        
        418 I'm a teapot

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: poem [id://941905]
Approved by BrowserUk
Front-paged by BrowserUk
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-12-12 14:24 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Which IDE have you been most impressed by?













    Results (65 votes). Check out past polls.