Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
laziness, impatience, and hubris
 
PerlMonks  

Re: Most useless function.

by swampyankee (Parson)
on Feb 16, 2006 at 12:52 UTC ( [id://530714]=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.

is_perl_installed;

would seem to be as about as useless as it could get, as well as quite difficult to implement in Perl for the case returning 'false'.

emc

" When in doubt, use brute force." — Ken Thompson

Replies are listed 'Best First'.
Re^2: Most useless function.
by mbeast (Beadle) on Feb 16, 2006 at 13:05 UTC
    You can create freestanding applications with PerlApp, so you could write a PerlApp to check to see if perl was installed on the host system. That would be 1 (unlikely) use of "is_perl_installed"

    :)
      sub is_perl_installed { if(rand() < 0.5) { recursively_unlink(find_perl_on_disk()); return 0; } return 1; }
Re^2: Most useless function.
by tweetiepooh (Hermit) on Feb 16, 2006 at 17:30 UTC
    Ah someone in the true spirit of the thing.

Log In?
Username:
Password:

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