我需要在数组之间插入符号,如下所示。
my $string = "<hi how r u><<<what is your name>>><what is your age><<<hi how r u>>><this is idiot><<<iam fine>>>";
我需要grep as
@str = ("what is yourname","hi how r u","iam fine");
@str1 = ("hi how r u","what is your age","this is idiot")
答案 0 :(得分:1)