in reply to Good Module Design

Rewrite your mysql_wrapper_lib.pl to be a module that uses Exporter - that's the problem. Then, you don't have to worry about your prefixing shenanigans in UtilLib (which, btw, looks just fine).

  • In general, if you think something isn't in Perl, try it out, because it usually is. :-)
  • "What is the sound of Perl? Is it not the sound of a wall that people have stopped banging their heads against?"

Replies are listed 'Best First'.
Re^2: Good Module Design
by derby (Abbot) on May 26, 2005 at 19:46 UTC
    prefixing shenanigans in UtilLib (which, btw, looks just fine).

    Except it's ill-named and ill-named modules tend to denigrate faster than others (subjectively speaking of course).

    -derby
      Well, UtilLib is not the real name of the module, i was just using a generic name in the post.