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

Because arrays start at 0? So group.1 is not defined? And the condition is true?

if( 1 ne "") { print "Seems like a bug! BUT IT IS NOT BUG\n"; }
  • Comment on Re^3: Template::Toolkit: defined on aggregate item vs. defined on variable
  • Download Code

Replies are listed 'Best First'.
Re^4: Template::Toolkit: defined on aggregate item vs. defined on variable
by choroba (Cardinal) on Aug 05, 2016 at 22:40 UTC
    But why is g defined, when g = group.1 and, as you said, group.1 is not defined?
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,