Beefy Boxes and Bandwidth Generously Provided by pair Networks RobOMonk
Problems? Is your data what you think it is?
 
PerlMonks  

Re: Perl Humor

by Anonymous Monk
on Sep 20, 2002 at 09:20 UTC ( [id://199458]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Perl Humor

How do I find the largest element in an array?
Write a foreach loop to scan the elements one at a time, and stop when you get to the largest one.

Or two passengers on a bus:

Passenger 1: I'm trying to get to 4th and main, could you tell me how to get there?
Passenger 2: Sure, just get off two stops before I do.

I think I could make use of this one as well:

I tried getpeername and it gave me some weird error message.
If you got `some weird error' the problem is with your frobobnitz.

Good stuff =D.

Replies are listed 'Best First'.
Re: Re: Perl Humor
by tretin (Friar) on Sep 20, 2002 at 14:29 UTC
    I thought I remembered reading somewhere here that abigail once returned the question of 'how do I get tomorrow's date' with the answer
    sub tomorrow_date { sleep 86_400; return localtime(); }


    or perhaps I am just mistaken...
    work it harder make it better do it faster makes us stronger more than ever hour after our work is never over.
      abigail is on the list of contributors, and Dominus is the author, if I understood it correctly.
Re: Re: Perl Humor
by John M. Dlugosz (Monsignor) on Sep 20, 2002 at 16:25 UTC
    > If you got `some weird error' the problem is with your frobobnitz.

    I don't get it.

    I suppose someone could have a peer named "error" and that would confuse people. I wonder if I name my kid NULL if that would crash databases and he'd never get junk mail?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://199458]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.