I have some data that is broken up by @s, stored in a string $str. I'm using the following code:
if ($str =~ /@A(.*?)@B(.*?)@C(.*?)@D(.*?)@E(.*?)@F(.*?)@END/s) {
$var1 = $1; $var2 = $2; ...
} else {
print "Error message";
}
And it's stuffing most of $str into a single $varX, and I'm not finding the
rest of $str. Do I need to be escaping my @'s in my regular expression?
Thanks,
/\/\ark
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
