in reply to Re^3: Pixel-based Plotting in Perl? in thread Pixel-based Plotting in Perl?
That makes things much clearer for me, mr_mischief. Thanks so much for closing this gap in my understanding.
As for libraries, I have to admit I am not completely familiar with the concept. My understanding is that they are units of code with well defined interfaces that perform certain complex actions. Is it helpful to think of them as Perl objects which get created by my Perl programme via suitable constructors and subsequently addressed via appropriate methods or subroutines? Or are they actual programmes started by my Perl programme that run in parallel to it and then interact with it at runtime?
Thanks again in advance for clarifying.
Pat
Re^5: Pixel-based Plotting in Perl?
by mr_mischief (Monsignor) on Sep 03, 2008 at 17:49 UTC
|
Primarily libraries are the former -- units of code you call from your code as part of the same program. Many but not all of them use an object interface with modules, while others use subroutine calls.
See perlmod for information on Perl modules, which is how most libraries for use in Perl are presented. See perlboot for a beginner's guide to object-oriented Perl. There's plenty to learn here on PM, too. You can search for different topics that have already been discussed or post questions specific to a module to SoPW. | [reply] |
|