in reply to How can I solve this hash issue?

Missing the $ before array[6] in the second elsif.

But God demonstrates His own love toward us, in that while we were yet sinners, Christ died for us. Romans 5:8 (NASB)

Replies are listed 'Best First'.
Re^2: How can I solve this hash issue?
by choroba (Cardinal) on Jun 16, 2016 at 20:30 UTC
    Double quotes are not only useless here, they also prevented Perl from telling you what the problem was.

    ($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,
      I didn't include them before, but didn't get an error either. I don't know why the first one was coming out correct.
Re^2: How can I solve this hash issue?
by adur (Initiate) on Jun 16, 2016 at 20:40 UTC
    It's always that, isn't it? Anyway, thank you so much. This saved me so much time.