It looks like that you call your function outside of an Embperl Request. Udat is only available, from inside an Embperl page, not before or after
Gerald Von: Benni Bärmann [mailto:bennibaerm...@gmail.com] Gesendet: Mittwoch, 17. Mai 2017 07:56 An: embperl@perl.apache.org Betreff: Fwd: undefined value in Emperl/Util.pm Hello everybody, i try to give some new life to an old emperl aplication, but there is this error (shown in the browser): Error in Perl code: Can't call method "app" on an undefined value at /usr/lib/x86_64-linux-gnu/perl5/5.22/Embperl/Util.pm line 108. My environment ist the standard packages for Apache2, mod_perl and Embperl for Ubuntu 16.04 Versions: Apache2: 2.4.18-2ubuntu3.2 Perl v5.22.1 mod_perl 2.0.9-4ubuntu1 Embperl 2.5.0 any hints about this? Thanks, Benni