As a quick check, try stripping out freaky characters,
like NULL.
$text =~ tr/\030-\176//cd
or something similar... Maybe you are handing it a
unicode string? A scad of NULLS would make it pretty unhappy I'd guess.
--
$you = new YOU;
honk() if $you->love(perl)