perl-embperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gerald Richter" <>
Subject Re: How to make %udat and %fdat available in Perl package?
Date Fri, 11 Jul 2003 06:38:51 GMT

> I am using EmbPerl in cgi mode via and hiding most of the Perl
> code as subroutines in a .pm package. Is there anyway to configure EmbPerl
> so that %udat and %fdat are always available to the Perl code in my
> (without having to always pass \%udat and \%fdat as arguments when the
> subroutines are called from EmbPerl code in my html pages)?

In 1.3 you can access %HTML::Embperl::udat and %HTML::Embperl::fdat. This
will not work in 2.0.

In 2.0 you can access

$Embperl::req -> component -> param -> fdat


$Embperl::req -> app -> udat

both return a reference to a hash


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

View raw message