Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: mkdir in perldoc

by marto (Chancellor)
on Jan 09, 2013 at 10:16 UTC ( #1012418=note: print w/ replies, xml ) Need Help??


in reply to mkdir in perldoc

Everything_is_a_file, if you feel strongly about changing this consider raising the issue with the maintainers.


Comment on Re: mkdir in perldoc
Re^2: mkdir in perldoc
by QM (Vicar) on Jan 09, 2013 at 11:41 UTC
    Everything is a file...
    Yes, but in the documentation filename is used 2 ways, first as a standin for the wordy "file system entity", and second as an ordinary file (not a directory or somesuch). But since its use in mkdir is not the generic file system entity, it's misleading. (I'm particularly amused by rmdir's description.)

    -QM
    --
    Quantum Mechanics: The dreams stuff is made of

      The entries in mkdir and rmdir state:

      "Creates the directory specified by FILENAME"

      "Deletes the directory specified by FILENAME if that directory is empty."

      Now the Microsoft documentation states:

      "Note that a directory is simply a file with a special attribute designating it as a directory, but otherwise must follow all the same naming rules as a regular file. Because the term directory simply refers to a special type of file as far as the file system is concerned, some reference material will use the general term file to encompass both concepts of directories and data files as such."

      I don't find any of this misleading. If you do feel free to make a case to improve the documentation in question to those who maintain it.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2014-09-16 19:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (45 votes), past polls