Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: renaming a file and moving into another folder

by Anonymous Monk
on Sep 21, 2011 at 18:33 UTC ( [id://927197]=note: print w/replies, xml ) Need Help??


in reply to Re: renaming a file and moving into another folder
in thread renaming a file and moving into another folder

It was downvoted because it is entirely irrelavent and unhelpful to the questioner.

No, you do not move the contents of the file. But you DO move its directory entry. And as the only way to access the contents is via its directory entry, the effect is the same.

Picking out one commonly used but slightly misnomeric term and then using as a stick with which to beat the newbie is the very worst kind of elitism.

  • Comment on Re^2: renaming a file and moving into another folder

Replies are listed 'Best First'.
Re^3: renaming a file and moving into another folder
by Marshall (Canon) on Sep 21, 2011 at 19:18 UTC
    Sorry that my post appeared to be unhelpful to you.

    I try to be solidly on the side of "anti-elitism". I try not to use tricky Perl syntax when writing code for new folks. I try to explain how what I write works. In this case, I agree that I sounded too "high almighty". There are limitations in this textual format and sometimes what is heard is not what I intended.

    However I have seen this misconception about a file "lives in a folder" versus "a file is just a set of bits and a pointer to those bits lives in the directory" so often that it provoked a reflex response. This misconception happens a lot even at the university level. This is not a minor point. It is the same idea like Perl reference counting.

    Hard disk I/O isn't covered very well in school. I guess I got carried away.

      I try not to use tricky Perl syntax when writing code for new folks. I try to explain how what I write works

      Post a working solution to the questioners problem, and even if they do not understand how it works, they make forward progress. And it encourages some of them to read or question how it works, and learn in the process.

      It is completely irrelevant to the users of rename what actually happens under the covers. You could go through an entirely succcessful career without ever knowing those details.

      Explaining them, especially at a level that despite your verbosity, was entirely superficial, as it does not describe what actually happens in any given file system, does not help answer the question asked.

        I've gotten way too much grief for a simple post. Let's forget it.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2024-05-20 05:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found