Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: Toolkit Template undef error debugging

by redgreen (Priest)
on Oct 15, 2009 at 17:33 UTC ( #801397=note: print w/ replies, xml ) Need Help??


in reply to Re: Toolkit Template undef error debugging
in thread Toolkit Template undef error debugging

Indeed, I learned early to use a revision control system. The code itself hasn't changed, but there was something odd with this one set of data.

As it turns out, it was a faulty assumption. I assumed that the resident state data would be present. When it wasn't, $stash->set( 'resident', undef ) occurred inside the [% PERL %] block, giving me my strange error. I'm a little disappointed that TT didn't give me a better error message as to where this was happening.


Comment on Re^2: Toolkit Template undef error debugging
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://801397]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2015-07-08 00:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls