Hi, what you can do now is: So, my $doc = "/path/to/file".IO.slurp..split( $line-sep )>>.split( $field-sep ); Which seems pretty short and readable, at least to me :o)
Example: my $doc = "a:b:c_d:e:f_g:hi_aaa".split('_')>>.split(':'); say $doc.perl rakudo b78da4: OUTPUT«$(("a", "b", "c").list, ("d", "e", "f").list, ("g", "hi").list, ("aaa",).list)» Cheers Am 24.09.2013 08:17, schrieb Marc Chantreux: > On Mon, Sep 23, 2013 at 11:00:43PM -0500, Patrick R. Michaud wrote: >> I think it's currently specced in S32 as :nl("\n"). > oops. i missed something :) > > http://perlcabal.org/syn/S32/IO.html#open > > lot of documentations, specifications, and tools refers to RS as the > unit of the file can be other than a line. as Perl6 is very consistent > many things, i think it's awkward to use a named parameter that has no > link with the method name or the common way to name it > ( :nl, guess it's for "new line"? netherlands?) > > http://perlcabal.org/syn/S32/IO.html#input-line-separator > > don't you think :rs ( and the method input-record-separator ) must be > used there ? and why not carre about IFS ? > > regards