Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: rename 0.3 - now with two extra cupholders

by sauoq (Abbot)
on Nov 23, 2003 at 00:03 UTC ( #309199=note: print w/ replies, xml ) Need Help??


in reply to rename 0.3 - now with two extra cupholders

I have a small suggestion/request. Provide a switch other than -h to "browse the manpage" and use -h to provide just the synopsis. That's the usual function of -h and I found it just a tad annoying that looking for help while running as root got me a "Superuser must not run /usr/bin/perldoc. . ." message.

-sauoq
"My two cents aren't worth a dime.";


Comment on Re: rename 0.3 - now with two extra cupholders
Re^2: rename 0.3 - now with two extra cupholders
by Aristotle (Chancellor) on Nov 23, 2003 at 00:20 UTC
    Ok, that's simple to fix.. another thing I often found myself minorly annoyed with is that I have to make sure all directories any files might end up in exist beforehand. So requesting path autocreation for files is going to be a feature in the next time version.

    Makeshifts last the longest.

      If the requested path is "/some/where/else", and only "/some" exists, would you create "where/else" or just "else"?

      How would you go about this: on failure of simple "mkdir()" would you run "File::Path:mkpath()" (or similar) or just run "File::Path::mkpath()" in the first place?

        Just mkpath everything, no need to check. If the path already fully exists, mkpath will just fail harmlessly.

        Makeshifts last the longest.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://309199]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (7)
As of 2014-12-28 01:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (177 votes), past polls