-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 31 May 2002 11:32 pm, Daisuke Maki wrote:
> On this hint, I added a "use bytes" pragma in XPathScript.pm, which
> fixed everything. I don't know why, but certain things seem to just flat
> out fail on my machine when it comes to encoding. Case in point: I had a
> problem earlier with Text::Template -- same type of thing, the
> characters came out misaligned or something. But when I introduced a
> "use bytes" on top of Text::Template, everything was peachy again.
>
> Weird, eh? It could just be my machine, my perl... Mark Dominus couldn't
> reproduce my problem, either.
>
> Anyway I'm not really familiar with string internals and such, so I
> don't even know *why* this works, but if it doesn't hurt AxKit it would
> be kind of nice to have a mandatory "use bytes" in AxKit files... I
> would think there may be some other potential victims out there who has
> the same setup as I do.

Unfortunately the "bytes" pragma is a 5.6+ only pragma. I don't like to 
restrict AxKit to 5.6+. Especially when 5.00503 is still the default in some 
OS's.

- -- 
<:->get a SMart net</:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE8+AIFVBc71ct6OywRAsQvAKDf12zxL0x4/rBptCANAojFQygWcgCeILmI
tP5lbDTDaMipY0f3gllbbQE=
=hLTf
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to