Sep 21, 2005 kl. 9:48 PM skrev Tommy Nordgren:
How do you split a string on the equality character?
Neither split (/=/,$myvar)
nor split ('=',$myvar)
appears to work
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>
I've verified that the problem with my script occurs because the
string I'm trying to parse
is using a different coding of the equality sign.
The default output format of the tool whose output I'm trying to
process is UniCode .
Apparently there is multiple code point for the = character in unicode.
telling the tool whose output I'm trying to process to use the Mac
Roman encoding instead,
succeds.
How can you properly match = characters in unicode strings?
-------------------------------------
This sig is dedicated to the advancement of Nuclear Power
Tommy Nordgren
[EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>