$str =~ s/^(.{0,200}).*$/$1/gs;
With perl 5.26 there no warning and it gives the result explained by the comment.
-- Francois Mescam
$str =~ s/^(.{0,200}).*$/$1/gs;
With perl 5.26 there no warning and it gives the result explained by the comment.
-- Francois Mescam