I am having trouble splitting a string that is delimited by the '^' character. Could somebody please point me in the right direction?
Below is one of the many methods I have tried thus far:
my $temp = "mary^had^a^little^lamb.";
my @vals = split('^', $temp);
Thanks.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.