>
>
> I am having the strangest experience with modperl, that perhaps someone can
> help me with.  I am trying to modularize my code, so in order to do this, I
> have a simple html file, that looks as follows:
>
> #####################################
> <html>
> <head>
> <title>Bidder Registration</title>
> </head>
>
> <body>
>
> [+
>   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; 
>
> And I get the following from apache:
>
> ERR 24: undefined subroutine &HTML::Embperl::DOC::_4::_TEST called at
> /path/foo.htm line 12;
>
> I should add that all the modperl test examples work fine......so what am I
> doing wrong.  It's driving me crazy..  Help!
>
>  



Ruben
==================================
Ruben Fagundo
T:617/244-6136
F:603/452-3220

Reply via email to