FAQ

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

Search Discussions

Discussion Posts

Previous

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 of 3 | next ›
Discussion Overview
groupperl6-compiler @
categoriesperl
postedMar 6, '10 at 3:53p
activeMar 8, '10 at 8:18a
posts3
users3
websiteperl6.org

People

Translate

site design / logo © 2021 Grokbase