perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gavin Carr <ga...@openfusion.com.au>
Subject Re: Execute
Date Wed, 24 Jul 2002 03:27:16 GMT
On Tue, Jul 23, 2002 at 11:02:07PM -0400, Justin Harrison wrote:
> 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?

The easy perl sub way is to make your content.pm a proper object 
(i.e. bless it yourself) and then change your instantiation to 
[- $r->{content} = zoweb::content::content->new() -]. That will
definitely work.

Cheers,
Gavin

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Mime
View raw message