> From my web page I call a routine in a library. I would like that
> routine to be able to access (and set) some variables (%udat in
> particular). I need to experiment to be sure, but
> HTML::Embperl::udat didn't seem to work,
Accessing %HTML::Embperl::udat should work in the current version, but is
not guaranteed to work in future version.
> and caller() returned
> HTML::Embperl, not the custom package that I expected.
That's strange, but I didn't tried it for a long time...
> Am I missing
> something obvious? In the meantime I'm passing in %udat by
> reference, which works (and one might even argue is cleaner), but I'd
> still like to know if what I want is possible.
Currently passing a ref to %udat is the best thing you could do. On the todo
list is, to add a function to Embperl, that allows you to access %udat from
outside a Embperl page.
Gerald
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]