The command line does not work, I get the undefined error.., My exporting is basically a copy-paste from the docs. With or without the BEGIN, no go..
Can't find init1 Note: I PerlModule the package directy via httpd.conf I even put init in EXPORT, instead of EXPORT_OK #BEGIN { use Exporter (); use vars qw( @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); @ISA = qw(Exporter); @EXPORT_OK = qw(); @EXPORT = qw(init1); %EXPORT_TAGS = ( vars => [qw($fname $lname)], subs => [qw(reread_conf untaint_path)], ); Exporter::export_ok_tags('vars'); Exporter::export_ok_tags('subs'); #} Frantzcy On 26 Sep 2003 11:40:25 -0400,Perrin Harkins <[EMAIL PROTECTED]> wrote: > On Fri, 2003-09-26 at 11:21, Frantzcy Paisible wrote: > > I've converted all perl4 .lib files to .pm. > > Hooray! > > > I've exported the sub names, but I still get the "undefined" error. > > Probably a bug in your exporting code. Does it find the sub from a > command-line test? perl -e 'use MyModule; my_exported_sub();' > > - Perrin -- Unreachability is bliss