Adding these to t/tilde.t makes it fail
$mb = run_sample( install_base => '~/ foo' );
is( $mb->install_base, "$ENV{HOME}/ foo" );
$mb = run_sample( install_base => '~/fo o' );
is( $mb->install_base, "$ENV{HOME}/fo o" );
The trouble is that _detildefy() uses glob() to avoid having to deal
with the tildes, and this means you have to protect spaces and other
stuff. Perhaps better to just put a couple of regexps in there and
work directly on the first 1-2 characters?
I noticed the "seemingly silly ~~" logs and was wondering why it was
silly. Using regexps instead of a glob would make that test less
silly.
--Eric
--
I eat your socks and you pay me.
--The business sense of a very small goat.
---------------------------------------------------
http://scratchcomputing.com
---------------------------------------------------