Perl: the Markov chain saw | |
PerlMonks |
Re^2: Template::Toolkit: defined on aggregate item vs. defined on variableby flowdy (Scribe) |
on Aug 05, 2016 at 21:18 UTC ( [id://1169231]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|