Thanks to BikeNomad I was able to make progress in getting Inline.pm to run, but I could really use some more help.

perldoc Inline tells me that I can set the DIRECTORY variable so that Inline.pm can have a place to keep its scratch files. Assuming that I am user markj, I write:

Use Inline (Config => DIRECTORY => '/home/markj/.Inline/',);
at the top of my Perl script.

When I run my Perl script as user markj I get the following error message:

Failed to autogenerate /home/markj/.Inline/config

The interesting part is if I place a random file called config in .Inline then the error message tells me that my config file is from an older version of Inline. It advises me to remove it so that Inline can autogenerate a new config file for me. But in fact when I do what I am instructed the autogeneration fails.

My script runs as user markj who has the rights to create files in /home/markj/Inline.

Does anyone have any ideas about why I get the autogeneration fails error? I love Perl, but this Inline.pm on Perl 5.005 is driving me crazy.


In reply to Failing to Autogenerate config in Inline.PM by sierrathedog04

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.