You are viewing a plain text version of this content. The canonical link for it is here.
Posted to embperl@perl.apache.org by Nate Smith <na...@thebackrow.net> on 2002/07/15 17:50:20 UTC

Unititialized Values (?)

I am using EmbperlObject 1.3.4, mostly happily, but I am getting a 
few errors whose cause I can't quite figure out.  My basic layout is 
as follows:

template.epl (sets up a DBI handle, imports some common functions, 
executes calling page) 
i.e:
[- Execute ({ inputfile => 'common/functions.inc', import => 1}) -]
and
[- Execute ('*') -]

whatever.html (would be a requested page, also imports
common/functions.inc) 

When whatever.html is requested by the browser I get the following
errors: 

[11723]ERR:  32:  Warning in Perl code: Use of uninitialized value in
subroutine entry at /home/www/ssl/whatever.html in block starting at line 1.

[11723]ERR:  32:  Warning in Perl code: Use of uninitialized value in
subroutine entry at /home/www/ssl/whatever.html in block starting at line 1.

[11723]ERR:  32:  Warning in Perl code: Use of uninitialized value in
subroutine entry at /home/www/ssl/whatever.html in block starting at line 1.

[11723]ERR:  32:  Warning in Perl code: Use of uninitialized value in
subroutine entry at /home/www/ssl/whatever.html in block starting at line 1.


I am using EMBPERL_DEBUG level 4194304 currently to show IMP[ort]
messages, but it doesn't tell me anything unusual: 

[11723]IMP:  lastlog -> HTML::Embperl::DOC::_1 (8697980)
[11723]IMP:  toSeconds -> HTML::Embperl::DOC::_1 (8697aac)
[11723]IMP:  converttime -> HTML::Embperl::DOC::_1 (8697bc0)
[11723]IMP:  convertdate -> HTML::Embperl::DOC::_1 (8697cd4)
[11723]IMP:  menu -> HTML::Embperl::DOC::_1 (8699904)
[11723]IMP:  Create Imports for HTML::Embperl::DOC::_1 from
HTML::Embperl::DOC::_3 (HASH(0x8524800))
[11723]IMP:  Created Import for HTML::Embperl::DOC::_3::menu ->
HTML::Embperl::DOC::_1
[11723]IMP:  Created Import for HTML::Embperl::DOC::_3::lastlog ->
HTML::Embperl::DOC::_1
[11723]IMP:  Created Import for HTML::Embperl::DOC::_3::convertdate ->
HTML::Embperl::DOC::_1
[11723]IMP:  Created Import for HTML::Embperl::DOC::_3::toSeconds ->
HTML::Embperl::DOC::_1
[11723]IMP:  Created Import for HTML::Embperl::DOC::_3::converttime ->
HTML::Embperl::DOC::_1


Am I missing something really obvious?

Nate Smith


-- 
"Why do so many otherwise intelligent people look for answers to serious 
 questions in systems purely of their own devising, which are able to prove 
 on their own terms that they don't even have them? Mathematics, logic, 
 science: they're useful servants, but exceptionally bad masters."
                                           --Simon Cozens

---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org


Re: Unititialized Values (?)

Posted by Gerald Richter <ri...@ecos.de>.
>
> I am using EmbperlObject 1.3.4, mostly happily, but I am getting a
> few errors whose cause I can't quite figure out.

Could you set EMBPERL_DEBUG to 0x7ffffffd and send the part of embperl.log
file which contains the warnings?

Gerald

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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org
For additional commands, e-mail: embperl-help@perl.apache.org