I have a string that is delimited by the '|' character. I pass this string
to a sub, and within the sub I break it apart using split
my @Array = split(/|/, $_[1]);
When I print out the array, I find that split has broken the string apart
character by character, and not by the delimiter. It looks like this:
A
S
T
R
I
N
G
I thought, maybe the the $_[1] string is somehow written with a | after
every character, but I checked and it's not. I've run out of ideas, and
would appreciate any help. Thanks!
Sean
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]