I've not tried it, but I think it's as easy as:
my @names = ($line =~ m/{(.*?)}/g); if (@names) { push @Customer_list, @names; }
...roboticus
When your only tool is a hammer, all problems look like your thumb.
In reply to Re: Matching multiple {hits}
by roboticus
in thread Matching multiple {hits}
by sophix
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |