Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^2: The process cannot access the file because it is being used by another process?

by BrowserUk (Pope)
on Apr 28, 2016 at 02:53 UTC ( #1161720=note: print w/replies, xml ) Need Help??


in reply to Re: The process cannot access the file because it is being used by another process?
in thread The process cannot access the file because it is being used by another process?[Problem disappeared!]

Have you really not tried putting those first 13 lines into a separate file, ...

Of course, that exactly what I did. I posted the error because I've never encountered it before and wondered if anyone knew what caused it.

As for the why. Why do you ever put DATA in a script? Same reasons apply.

For the specifics of this occasion. I'd just copied the data out of another much bigger file with mixed content -- rather than write what would be a moderately complex parser -- to see what if any sense I could make of it. It was sat in the paste buffer when I opened a new file in my editor to write my scratch script and thought, why bother with a separate file...

Then the error occurred and the rest you see here.


With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
In the absence of evidence, opinion is indistinguishable from prejudice.
  • Comment on Re^2: The process cannot access the file because it is being used by another process?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (9)
As of 2021-04-15 15:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?