in reply to Re: Applying regex to each line in a record.
in thread Applying regex to each line in a record.
> without a regex at all, thanks to the split() function.
Note that the first argument to split, even if you write it as ':', is a regex. Only a space is special.
map{substr$_->[0],$_->[1]||0,1}[\*||{},3],[[]],[ref qr-1,-,-1],[{}],[sub{}^*ARGV,3]
In Section
Seekers of Perl Wisdom