Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Can't coerce UNKNOWN to string in substitution iterator

by choroba (Cardinal)
on Oct 10, 2016 at 20:33 UTC ( [id://1173677]=note: print w/replies, xml ) Need Help??


in reply to Can't coerce UNKNOWN to string in substitution iterator

I can confirm the behaviour in 5.18.2 and 5.20.1, but running the code in blead (720c8c4f57a8be0960c9068d899e9d111e143382) finishes the code without error.

Check also splain for the message:

Can't coerce UNKNOWN to string in substitution iterator at - line 11, +<> line 12 (#1) (F) Certain types of SVs, in particular real symbol table entries (typeglobs), can't be forced to stop being what they are. So you +can't say things like: *foo += 1; You CAN say $foo = *foo; $foo += 1; but then $foo no longer contains a glob.

($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://1173677]
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: (2)
As of 2024-04-24 17:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found