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]
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: Applying regex to each line in a record.
by stevieb (Canon) on Oct 25, 2020 at 16:01 UTC |
In Section
Seekers of Perl Wisdom