BTW. There is a FAQ about use/require etc. which is worth reading, see
http://perl.apache.org/embperl/Faq.pod.2.html#When_I_use_a_module_inside_a_E
mb

Gerald

-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------

----- Original Message -----
From: "Steve Fawcett" <[EMAIL PROTECTED]>
To: "Jaak" <[EMAIL PROTECTED]>; "Embperl" <[EMAIL PROTECTED]>
Sent: Friday, December 21, 2001 2:45 AM
Subject: RE: require and embperl


> Hi
>
> Try using do instead of require:
>
> [- do "test.pl"; -]
>
> Regards
> Steve
>
> -----Original Message-----
> From: Jaak [mailto:[EMAIL PROTECTED]]
> Sent: 19 December 2001 18:44
> To: Embperl
> Subject: require and embperl
>
>
> Hi!
>
> When I use
> [- require "test.pl"; -]
>
> test.pl =>
> $lang{'test'} = "testing..."; 1;
>
> appeares only once when using [+ $lang{'test'} +]
> When realoading page $lang{'test'} seems to be empty.
>
> What am I doing wrong?
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


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

Reply via email to