http://qs321.pair.com?node_id=1200650


in reply to Re: perl parsing
in thread perl parsing

There's also File::Slurp, which is quite useful if you want to read an entire file in one go:

use File::Slurp; my @file = read_file('text.txt');

Replies are listed 'Best First'.
Re^3: perl parsing
by choroba (Cardinal) on Oct 04, 2017 at 12:14 UTC
    Please, don't recommend broken modules.

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