http://www.perlmonks.org?node_id=1160449


in reply to readline on closed filehandle

Your update is correct. You close the handle on line 55 after processing the first line.

($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,