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, ("
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 th
On Tue, Sep 24, 2013 at 02:14:50AM +0200, Marc Chantreux wrote:
> Come on, Perl6 people! did i miss something that takes carre of separators?
> it would be nice to have something like:
I think it's currently specced in S32 as :nl("\n").
See http://perlcabal.org/syn/S32/IO.html#open and
http://p
hello,
On Sun, Sep 22, 2013 at 07:23:25PM +, Revell, Gary wrote:
>Hi,
>[cid:image001.png@01CEB7D0.704DF1C0]
I don't know for other members of the list but i didn't appreciate
to find an image attached to a message posted in a mailing list. You can
post it on a website then give an url
hello |@perl6-users,
I'm trying to implement the MARC::MIR spec in Perl6 so i need to read
ISO2709 files (which is an old but still frequently used file format to store
book records for libraries).
In ISO2709, record separator (RS) is \x1d so the Perl5 implementation does:
our $RS = "\x1d";
su
Hi,
I'm just starting to use Perl6 and wanted to do some exercises with the perl6
debugger.
All development is on Windows 7 Enterprize platform.
[cid:image001.png@01CEB7D0.704DF1C0]
I'm using the cmd program and as you can see above I'm getting what appear to
be cursor positioning/screen hand
lue (>):
> The infix:["..."] form of declaration should at least have a better
> error message.
Not just that. S02, S03, S06, and S12 contain examples of this syntax. So
at the upper end this should actually be allowed, not just have a better
error message.
Of course, arbitrary values inside t
# New Ticket Created by Life U. Everything
# Please include the string: [perl #119919]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=119919 >
r: sub infix:["@"] ($a, $b) { "$a@$b" }; say "me"@"server"
rakudo f86a1a:
# New Ticket Created by Benjamin Goldberg
# Please include the string: [perl #119925]
# in the subject line of all future correspondence about this issue.
# https://rt.perl.org:443/rt3/Ticket/Display.html?id=119925 >
When playing around with the perl6 irc evalbot, I discovered these problems:
I should also mention that while this form produces the bug:
regex foo { { say($) } }
This form does not:
$s ~~ / { say($) } }/
10 matches
Mail list logo