in reply to how to write a module

You need to either export 'NZD' from NZD.pm, or Test.pl must use its fully-qualified name. See perlmod for more information.

btw, NZD.pm is a module, not a script.

Update: btw2: You have 3 different NZDs, which could be confusing. Make them different if you can.


sas