in reply to Re: Most useless function.
in thread Most useless function.

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"

:)

Replies are listed 'Best First'.
Re^3: Most useless function.
by DrHyde (Prior) on Feb 20, 2006 at 09:55 UTC
    sub is_perl_installed { if(rand() < 0.5) { recursively_unlink(find_perl_on_disk()); return 0; } return 1; }