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

Re^2: Template::Toolkit: defined on aggregate item vs. defined on variable

by flowdy (Scribe)
on Aug 05, 2016 at 21:18 UTC ( [id://1169231]=note: print w/replies, xml ) Need Help??


in reply to Re: Template::Toolkit: defined on aggregate item vs. defined on variable
in thread Template::Toolkit: defined on aggregate item vs. defined on variable

In general you're right. In this case, I just posted a simplified example to pm. In my real-word situation I have to tell apart defined or undefined second part of a tuple in view logic. This is where the shown weirdness taught me better not to give long.paths.through.data.structures simple names to use more than once. Or at least not to include the tail component in the assignment.

  • Comment on Re^2: Template::Toolkit: defined on aggregate item vs. defined on variable

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (4)
As of 2024-04-24 18:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found