Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
I have also been unable to replicate this on my Win XP laptop. This appears to be some kind of weird Windows problem. The "answer" may some some kind of kludge that sets Window's brain straight? The DATA handle is a weird critter that is essentially a file handle to the current .pl program at a particular byte offset. I am wondering if you are able to seek (DATA,0,0) or die "seek failed $!"; prior to reading from DATA? This trick allows a Perl program to read itself. This might help "un-confuse" the file system, but because I can't replicate the problem, I have no way to test this. It is for sure a weird idea that shouldn't matter, but it might. oh, I'm using Perl 5.22 on a Win XP laptop.

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

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2024-04-26 09:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found