in reply to Re: perl not going to error path
in thread perl not going to error path

On 5.10 and 5.22, I get Argument "abc" isn't numeric in seek at ./off.pl line 20., but not with the ref or object though.

Replies are listed 'Best First'.
Re^3: perl not going to error path
by choroba (Cardinal) on Jan 23, 2016 at 18:39 UTC
    References are converted to their addresses so you can check object identity:
    if ($obj1 == $obj2) { print "The same object.\n"; }
    ($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,