>>>>> On Wed, 08 Nov 2006 16:55:21 +1100, Adam Kennedy <[EMAIL PROTECTED]> said:
> Andreas > Speaking of bad configs, I think I might be a good idea to start > adding some basic error checks. > Yesterday I got caught by the various paths not allowing the use of > tilde ~. Instead of my homedir, it installed to a directory called, > literally, "~". > Apart from being a little annoying, fixing it required I make the > scariest command I've ever done on a production system. > rm -rf "~" (Advise: Scary, but if you make it ./~ it is much less scary.) CPAN::FirstTime does already check if a path is absolute. I've now added a sanity check to my copy that warns if a tilde is entered and allows for either correction or confirmation. Thanks, -- andreas