hi,
>
>     I'm starting to write a custom module to use it in embperl pages and
> just can't get it to work under embperl.
>
>     The only thing the module is doing is exporting 1 simple 'test'
> function. It compiles/works allright under plain perl, but errs under
> embperl, saying syntax error at the line where I define the package.
> I've pasted the code at the end of the msg
>

Perl requires a semikolon after the use statement, maybe this is the
problem.

[- use module -]  #bad

[- use module ; -]  #good

Gerald


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to