perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <>
Subject Re: fdat, OUT variables scope question
Date Mon, 02 Feb 2004 18:27:33 GMT
> I have one question:
> I've noticed that I can't get to any EmbPerl-specific global variable
> from within the package. This is for %fdat, %http_headers_out, OUT and
> others I suppose. But perl-specific global variables like %ENV works
> ok.

%ENV is provided by Perl itself, to get the same behaviour for Embperl
variables it would be necessary to patch Perl itself.

Just use %Embperl::fdat etc. inside your packge. Alternativly, if you like
more the OO way, you could pass Embperl's request rec ($epreq) and write
$epreq -> component -> param -> fdat, which gives you an reference to %fdat


Gerald Richter     ecos electronic communication services gmbh
IT-Securitylösungen * dynamische Webapplikationen * Consulting

Post:       Tulpenstrasse 5          D-55276 Dienheim b. Mainz
E-Mail:          Voice:   +49 6133 939-122
WWW:      Fax:     +49 6133 939-333
|   ECOS BB-5000 Firewall- und IT-Security Appliance:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message