in reply to Factory classes in Perl

However, in Perl we have CPAN from which we install our modules...this allows us to specify dependencies be be installed when we install our module.

Yes, but you need to be careful, see "Dependencies" section at Writing Solid CPAN Modules for some general advice.

Replies are listed 'Best First'.
Re^2: Factory classes in Perl
by Bod (Parson) on Jan 12, 2021 at 21:42 UTC

    Thank you for a really useful link...that one's now bookmarked!

    It's very timely as well as I have just got a PAUSE account and I'm sure it won't be long before I start to package up a module for CPAN. I will, of course, seek the wisdom of the Monastery at this auspicious occasion.

      " I will, of course, seek the wisdom of the Monastery at this auspicious occasion."

      Yes, definitely feel free to do so. There are several prolific and long-standing CPAN authors that frequent this site who will be happy to go over your code, as well as your entire distribution in detail before your first upload, to provide you with any advice or recommendations that may be beneficial.