Hi All, I was thinking of doing a
$ p6 'my $x="a\nb\nc\nd\n"; say "$x\n"; $x ~~ s/ .*?c /c/; say "$x";' a b c d c d Except the real deal will be across 1460 lines. Am I pushing the limits? There are other ways of doing what I want. Many thanks, -T
Hi All, I was thinking of doing a
$ p6 'my $x="a\nb\nc\nd\n"; say "$x\n"; $x ~~ s/ .*?c /c/; say "$x";' a b c d c d Except the real deal will be across 1460 lines. Am I pushing the limits? There are other ways of doing what I want. Many thanks, -T