> >
> > [+
> > use TEST1;
> > &TEST;
> > +]
> >
> > </body>
> > </html>
> > ####################################
> >
> > where
> >
> > TEST1.pm contains the following:
> > ###################################
> > ### Date: 12/29/99 Ver: 0.1 ###
> > ###################################
> > sub TEST
> > print "<B>Hi There </B>\n";
> > } # sub TEST
> > 1;
> >
Your module should reside in an separete package, because Perl will only
inlcude your module the first time you use it, then,
as in every Perl programm, you either have to EXPORT the sub TEST or to call
it with full packagename:
[+
use TEST1;
&TEST1::TEST;
+]
---------------------
package TEST1 ;
sub TEST
print "<B>Hi There </B>\n";
} # sub TEST
1;
Gerald
-------------------------------------------------------------
Gerald Richter ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting
Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz
E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925151
WWW: http://www.ecos.de Fax: +49 6133 925152
-------------------------------------------------------------