Play around with Path::Class-
perl -MPath::Class -le 'print file(+shift)->cleanup' [path]For example-
perl -MPath::Class -le 'print file(+shift)->cleanup' /foo//baz/./foo.t +xt /foo/baz/foo.txt
It has become one of my favorite families of modules.
In reply to Re: Simple Path Cleanup
by Your Mother
in thread Simple Path Cleanup
by wesley.spikes
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |