Mike Lesser <mailto:[EMAIL PROTECTED]> wrote:

: Is the library file thing passe? I was going to put some stuff in a
: library, but I get the impression that I should jump right to a pm.
: As a newbie this is a little daunting.

    I use .pl for scripts and .pm for modules. Modules can be daunting,
but they are definitely rewarding. Read the module tutorials available
online and stick to simple non OO modules to start. The hardest part
for me to grasp was the automatic call to import() when using a module.

    Exporter.pm helped a bunch, but the addition to @ISA was always
confusing. Perlmod helps explain about symbol tables and packages.
There is a lot going on under the hood in a simple perl script.
Writing modules makes it sometimes necessary to open that hood.


HTH,

Charles K. Clarkson
-- 
Mobile Homes Specialist
254 968-8328




-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to