?
Solved

what is a perl module

Posted on 2013-12-08
5
Medium Priority
?
202 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 1000 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 1000 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

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Email validation in proper way is  very important validation required in any web pages. This code is self explainable except that Regular Expression which I used for pattern matching. I originally published as a thread on my website : http://www…
I have been pestered over the years to produce and distribute regular data extracts, and often the request have explicitly requested the data be emailed as an Excel attachement; specifically Excel, as it appears: CSV files confuse (no Red or Green h…
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…
Six Sigma Control Plans
Suggested Courses

771 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