perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <rich...@ecos.de>
Subject Re: OO menus
Date Thu, 06 May 2004 03:23:07 GMT
Hi,

>
> Thanks for the responce.
>
> On Wed, May 05, 2004 at 05:49:01AM +0200, Gerald Richter wrote:
>>
>>>   [- Execute({object => '../_menu.epl'}) -]
>>
>> this will return you an object, e.g. you can do
>>
>> [-
>> $obj = Execute({object => '../_menu.epl'}) ;
>> $obj -> display_menu(\@menu) ;
>> -]
> In this example, what contructor is called?
> Can I write my own?
>

Everything that is inside [! !] is executed during the 'object => xxx'
initialization. There you can place your construction code or call your
construtor.

Gerald

---------------------------------------------------------------------------
Gerald Richter            ecos electronic communication services gmbh
IT-Securitylösungen * Webapplikationen mit Apache/Perl/mod_perl/Embperl

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:     richter@ecos.de          Voice:   +49 6133 939-122
WWW:        http://www.ecos.de/      Fax:     +49 6133 939-333
---------------------------------------------------------------------------
Besuchen Sie uns auf der KOMCOM 2004 in Mannheim
25. bis 27. Mai 2004  Stand K11a   www.komcom.de

ECOS BB-5000 Firewall- und IT-Security Appliance: www.bb-5000.info
---------------------------------------------------------------------------


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


Mime
View raw message