"I like how you call the file in to be read ..."

No external files are involved. There's just data embedded in the script.

"... with Inline::File module."

The module I used, and provided a link to, was Inline::Files (with an 's' at the end). This module is about 2 weeks old. I simply installed it using the cpan utility, which comes with the standard Perl distribution, like this from the command line:

$ cpan Inline::Files

You can find Inline::File (no 's' at the end) on CPAN. That name is probably just a typo: it provides the module Inline::Files. That module, however, is about 12 years old. So, make sure you're accessing the Inline::Files module I originally indicated.

"... I am using netbeans and I cdon't know how to load up a module from CPAN to this IDE."

I've never used "netbeans". I can't help with this; perhaps another monk can.

"it seems to be asking for .nbm file while CPAN is providing a .PL extension."

You'd be better off posting a verbatim copy of what "it seems to be asking for" rather than this vague description. Here's the Inline::Files MANIFEST: that may, or may not, be useful.

-- Ken


In reply to Re^3: Need advice on checking two hashes values and keys by kcott
in thread Need advice on checking two hashes values and keys by perlynewby

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.