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 18: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 22:30 UTC
    Ah someone in the true spirit of the thing.