I tried the following code (cut & paste from the embperl documentation)

[$ sub foo $]
  [- $p = shift -]
  <p> Here we show the first parameter [+ $p +]</p>
[$ endsub $]

[- foo ('value') -]

All I get in return is a server error:
Undefined subroutine &Embperl::__2::foo called 

I'm running Linux, Embperl 2.0b8, Perl 5.8.0 & Apache 1.3.27.

httpd.conf looks like this:
        <Location /test>
                Embperl_AppName     test
                Embperl_Object_Base base.epl
                Embperl_UriMatch    "\.html"
                Embperl_Session_Handler_Class   no
                SetHandler          perl-script
                PerlHandler         Embperl::Object
                Options             ExecCGI
        </Location>

Any suggestions? :-) 

/Christian








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

Reply via email to