I have a bash shell script.
I know how to tokenize a string in Perl using split
function.
I know there is a method in Bash as well.
I prefer using the Perl function.
How could, if possible, Perl be used in bash to split a string and store in array?
Let's say string = "myaddr@mail.com;my2ndaddr@mail.com"