From what I see, I seems like @EXPORT makes methods in the module available for use, but without having to reference the module, meaning this - $blah->somemethod - wouldn't be necessary. So, I'll remove this, thank you. I've never used & and it's never given me problems. I used module-starter and it didn't give me an option to put it in the correct directory. It tried to erase Bio::DB. I'll try again with your link. It installed a file to usr/local/man/man3 that isn't perl code. What is it? I was trying to install it in usr/share/perl5/Bio/DB/. Bio::DB::Fasta uses another module as a base and from what I see, it seems like $self is only used when parent methods are called. I'm not really using anything as a base except for Exporter, so I'm guessing that if I use $self, it will just be an Exporter object. What if I don't use exporter? Is $self required for it to work? I spent an hour looking for a module that doesn't use any other module and also uses arguments, but couldn't find any. Do I need to use $self to use other methods within the module?

In reply to Re^2: I really need help making a module. by adur
in thread I really need help making a module. by adur

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.