> It seems to work in some fashion with Embperl Meta Subs..
>
> Is it by design that it seems not to function with perl subs? Am I doing
> something wrong? :-( Is there anyway to make it function with perl subs?
>

It also works with perl subs, but you either need to tell Execute that you
are loading pure Perl code or wrap your sub's inside of a [- -] block:

Either:

[- $r->{content} = Execute ({'object' =>
'/home/zo/zo/lib/zoweb/content/content.pm',
syntax => 'Perl'
}) -]

or

> > In content.pm:
> >
> > #package zoweb::content::content;
> > #use strict;

# Never put a package statement here, Embperl will setup the package for you

[-
sub title {
 }

-]

Gerald




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

Reply via email to