cosmicperl has asked for the wisdom of the Perl Monks concerning the following question:
I've had a look at other scripts that can call routines in this way, such a Imager, but just can't figure out what I need to do. Please help.package Name::Name; use strict; use vars qw($GLOBALS); BEGIN { require Exporter; @ISA = qw(Exporter); $Name::Name::VERSION = '0.05'; } sub new { my $class = shift; my $self = {}; bless $self,$class; my %input = @_; ## BLAH } 1;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Writing a Perl Module... problems
by Joost (Canon) on Sep 15, 2007 at 01:29 UTC | |
by cosmicperl (Chaplain) on Sep 15, 2007 at 03:01 UTC | |
by naikonta (Curate) on Sep 15, 2007 at 16:02 UTC | |
|
Re: Writing a Perl Module... problems
by dragonchild (Archbishop) on Sep 15, 2007 at 03:17 UTC | |
by cosmicperl (Chaplain) on Sep 15, 2007 at 03:39 UTC | |
by stvn (Monsignor) on Nov 12, 2007 at 05:57 UTC | |
|
Re: Writing a Perl Module... problems
by runrig (Abbot) on Sep 15, 2007 at 01:27 UTC | |
by cosmicperl (Chaplain) on Sep 15, 2007 at 03:02 UTC |