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? And can I include global variables in the module? I have two hashes and a scalar at the top.
In reply to Re^3: I really need help making a module.
by adur
in thread I really need help making a module.
by adur
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |