On Sat, 2010-03-06 at 07:52 -0800, Martin Kjeldsen wrote: > + if $str ~~ /\x0a$/ { > + $str = $str.substr(0, $str.chars - 1);
Unless newlines are being canonicalized elsewhere, this seems *nix-specific. (Sorry I haven't researched further, this just caught my eye in passing; feel free to ignore if it doesn't make sense.) -'f