guiwp has asked for the wisdom of the Perl Monks concerning the following question:
I found two post very useful describing modules creation from a template. I've a doubt about which of them is better:
The first source that I've found is from: Re: Simple Module Tutorial
package MyModule; use strict; use warnings; use diagnostics; use Carp; ...
But surfing on the web I've found this one: template-boilerplate-code-create-perl-module
What is more appropriate for perl version 5.20.2 (default perl on debian in jessie)?package DevDaily::Time; require Exporter; our @ISA = qw(Exporter); our @EXPORT = qw(get_time_suffix); # symbols to be exported by defa +ult (space-separated) our $VERSION = 1.00; # version number ...
Back to
Seekers of Perl Wisdom