Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw

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?

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-12-01 03:11 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (792 votes), past polls