Solved

what is a perl module

Posted on 2013-12-08
5
198 Views
Last Modified: 2013-12-09
Is a Perl module a set of similar subroutines?  For example: is there something like a "math" module?  Then you have to read descriptions of what the module contains?
0
Comment
Question by:dwcronin
  • 2
  • 2
5 Comments
 
LVL 84

Expert Comment

by:ozo
ID: 39704185
CPAN has Math::Algebra, Math::Approx, Math::BaseArith, Math::BaseCalc, Math::Bezier,  Math::BigFloat, Math::BigInt, Math::BigRat, Math::BooleanEval, Math::Calculus::Differentiate,  Math::Calculus::TaylorSeries, Math::Combinatorics,  Math::Complex, ..., etc.
There is no standard module called named  just "math", but you can write one yourself, and include whatever you want in it.
0
 

Author Comment

by:dwcronin
ID: 39704211
ozo:  I figured "math" was too general of a division, but I've read that function/procedure names  are too specific.  Where does the line get drawn?
0
 
LVL 48

Accepted Solution

by:
Tintin earned 250 total points
ID: 39705568
A Perl module is simply one or more files that conform to the construct for a Perl module that perform a particular task and call be called by Perl scripts.

There's nothing to stop someone creating a module called:

Life::Universe::Everything

that does absolutely everything, but in general, most Perl modules perform a specific set of tasks.
0
 
LVL 84

Assisted Solution

by:ozo
ozo earned 250 total points
ID: 39705801
What features should a program have?
It depends what the creator of the program wants to accomplish,
the usefulness of a feature compared to the complication of having to select the feature,
the programming effort to add a feature compared to adapting a another program to perform the desired function,
users expectations due to experience with similar programs,
the kinds of task the use is likely to want to perform together,
etc.
0
 

Author Closing Comment

by:dwcronin
ID: 39706251
I think I asked an open ended question.  So "more than a little and less than a lot".
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Many time we need to work with multiple files all together. If its windows system then we can use some GUI based editor to accomplish our task. But what if you are on putty or have only CLI(Command Line Interface) as an option to  edit your files. I…
There are many situations when we need to display the data in sorted order. For example: Student details by name or by rank or by total marks etc. If you are working on data driven based projects then you will use sorting techniques very frequently.…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

778 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question