Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Most useless function.

by Anonymous Monk
on Feb 16, 2006 at 12:16 UTC ( [id://530705]=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 Most useless function.

Perl doesn't have any "useless" builtin functions, as far as I can tell; they all have (or had) a purpose.

Perl has a lot of redundant functionality; there's many ways to get the same job done.

If you're talking about user defined functions, look up the term "JAPH" sometime. ;-)

Replies are listed 'Best First'.
Re^2: Most useless function.
by tweetiepooh (Hermit) on Feb 16, 2006 at 12:23 UTC
    Of course I mean user defined.

    And JAPH's are not useless, well not in the same way as a ispoweron() is useless.

      The point of a ispoweron() function is to detect whether the main power source is on, or whether you're running under backup power (UPS, generator, etc).

      Once you detect that you're running under UPS power, you can then do a controlled shutdown of the system before power runs out.

      It's much less useless than a JAPH, which is a complicated way of writing something that could be written in a straightforward way.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://530705]
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.