I have an irritating issue complicated by the fact that I do not have direct access to the box my perl script is going to run on, and I was wondering if anyone had a suggestion for a work around. I got a request a while ago to create a script that would look through a flat file exported from a database and figure out based on the contents of the database whether a file that ought to exist does or not. This I did, and it worked just fine on the test data I had. The problem comes in running the darn thing in production. It turns out that the flat file on the server is 8 Gig, and the open command dies. This is on a windows server that I do not have access to. (Someone else is running the script.) I also don't have a database ID to work with, hence the flat file. I'm going to try sysopen and see if that might work better, but while I'm waiting to hear back from the woman who actually has access to the box, does anyone have experience creating a filehandle and reading from very large files on a Windows NT server? I'm more of a unix persone myself...

In reply to reading from a huge file by esddew

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



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.