Hi, a very basic question but I am admitting I have no idea how to solve it and i need it right now. I have a string :
my $string = "/3212/2344,4334,XYZ&54,32/4333%3343%12";
I need to push this string into an array using any of /&%, symbols as record separators. but i need those elements to be in my array as well . so :
my @array = ('/','3212','/,'2344',',','4334','XYZ','&','54',',','32',
+'/','4333','%','3343','%','12'");
should by my outcome.
Thank you in advance
UPDATE:
Thank you, I knew it was something simple but i somehow missed taht part