From original submitter

Okay, I got DB_File installed using PPM. That worked great. Now without any file there, it creates the "filename.db" file and manipulates it fine. But when I copy my original "filename.db" file into it's place ... the one that was actually created on a Linux machine, it tells me it cannot open the file.

I've FTP'd it using both BINARY and ASCII, and both give me the same error.

I've messed with the file permissions and the file it is giving me an error on has the exact same permissions as the file it created successfully, so it cannot be a permission problem.

Is there a potential disconnect with the Linux created file and the windows perl module? Can the Windows Perl module DB_File open a file that was created on a Linux machine?

Thanks for any help you can give!
Kurt (kleucht)


In reply to Re: Re: Re: newbie: DB versus DIR/PAG database files by kleucht
in thread newbie: DB versus DIR/PAG database files by kleucht

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.