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

Re: Re: The problem with one-liners...

by t'mo (Pilgrim)
on Feb 04, 2003 at 18:41 UTC ( [id://232617] : note . print w/replies, xml ) Need Help??


in reply to Re: The problem with one-liners...
in thread The problem with one-liners...

I think the "random word" is clever. I was also going to suggest something like:

perl -e 'require Some::Module;'

(golf, anyone?) for checking for the existence of some module, but then I realized that the intent of yours was probably to produce a "boolean" value, which could be more useful to something like an install script than mine, which will either produce nothing or some text.