Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

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

by beech (Parson)
on Aug 05, 2016 at 22:26 UTC ( [id://1169233]=note: print w/replies, xml ) Need Help??


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,

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-25 20:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found