Fagyal Csongor conc...@conceptonline.hu writes:
However, performance is an issue. I would not mind running into
bugs, writing some extra code to work around missing stuff, etc.,
but right now it is just hard to find any projects (for me - YMMV)
where performance would not be a blocker.
I
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #66288]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66288
dakkar rakudo: constant $ARR = (1,2,3,4);$ARR[1]=4;say $ARR
p6eval rakudo 77db80:
If Sun's propaganda about Dtrace :
http://www.sun.com/bigadmin/content/dtrace/ is anywhere near true, it
sounds as though it's a wheel we won't have to invent for
Parrot/Rakudo. It is apparently also available for Mac OS (Leopard)
http://tinyurl.com/2xas7q
BEGIN:VCALENDAR
PRODID:-//Google Inc//Google Calendar 70.9054//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
DTSTART:20090610T00Z
DTEND:20090610T03Z
DTSTAMP:20090605T035152Z
ORGANIZER;CN=jason switzer:mailto:jswit...@gmail.com
UID:g3rsts66avsaacp817n7ri1...@google.com
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #66292]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66292
masak rakudo: say ?(say OH HAI ~~ /Perl6::Grammar::TOP/); say $/.perl
p6eval rakudo
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #66304]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66304
DanielC rakudo: my $a = (1,3,4); $a[1] = 8; # BAH!
p6eval rakudo 10a9b2: ( no
I tested the below code on parrot-1.1.0 and it read all the lines in the
file and tested same code on the latest git update (4th June 2009), it
outputs only the first line.
#!/usr/bin/perl6
use v6;
my $fname = 'README';
if my $file = open($fname, :r) {
for $file.get- $line {
say $line;
Steffen (), Fagyal ():
However, performance is an issue. I would not mind running into
bugs, writing some extra code to work around missing stuff, etc.,
but right now it is just hard to find any projects (for me - YMMV)
where performance would not be a blocker.
I suggest to start using it as
Aruna ():
I tested the below code on parrot-1.1.0 and it read all the lines in the
file and tested same code on the latest git update (4th June 2009), it
outputs only the first line.
That's what C$file.get does -- it gives you one line per default.
You want C$file.lines.
// Carl
Carl Mäsak wrote:
Aruna ():
I tested the below code on parrot-1.1.0 and it read all the lines in the
file and tested same code on the latest git update (4th June 2009), it
outputs only the first line.
That's what C$file.get does -- it gives you one line per default.
You want C$file.lines.
//
Carl Mäsak wrote:
Aruna ():
I tested the below code on parrot-1.1.0 and it read all the lines in the
file and tested same code on the latest git update (4th June 2009), it
outputs only the first line.
That's what C$file.get does -- it gives you one line per default.
You want C$file.lines.
Then why is it that .get works fine for $*IN?
while $*IN.get - $line {
say $line
}
Because you're using a while loop instead of a for loop ;-)
Leon
Parrot Raiser 1parr...@gmail.com writes:
If Sun's propaganda about Dtrace :
http://www.sun.com/bigadmin/content/dtrace/ is anywhere near true
Which I can confirm. DTrace *is* cool.
Steffen
--
Steffen Schwigon s...@renormalist.net
Dresden Perl Mongers http://dresden-pm.org/
Deutscher
Leon Timmermans wrote:
Then why is it that .get works fine for $*IN?
while $*IN.get - $line {
say $line
}
Because you're using a while loop instead of a for loop ;-)
Worse. The code I wrote has a subtle but horrible error. The condition
will fail as soon as you hit a blank line!!
# New Ticket Created by Daniel Carrera
# Please include the string: [perl #66300]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66300
To reproduce the error:
hello.flip.trans(aeiou = AEIOU)
= too few arguments
Daniel (), Leon (), Daniel ():
Then why is it that .get works fine for $*IN?
while $*IN.get - $line {
say $line
}
Because you're using a while loop instead of a for loop ;-)
Worse. The code I wrote has a subtle but horrible error. The condition will
fail as soon as you hit a blank
# New Ticket Created by Daniel Carrera
# Please include the string: [perl #66312]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66312
The following lines all print funny characters:
perl6 -e 'say ü'
perl6 -e 'say
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #66330]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=66330
jnthn rakudo: my ($meth) = Grammar.WALK(:nameparse);
$meth(Perl6::Grammar.new, '42')
On Wed, Jun 3, 2009 at 8:08 AM, Håkon Skaarud Karlsen
perl6-bugs-follo...@perl.org wrote:
# New Ticket Created by Håkon Skaarud Karlsen
# Please include the string: [perl #66250]
# in the subject line of all future correspondence about this issue.
# URL:
Now added in 056847f. Please add a test to t/spec so we can close this
ticket. :-)
Pm
Test now added to S05-grammar/std.t, closing ticket.
Pm
On Fri Jun 05 07:29:16 2009, jn...@jnthn.net wrote:
On Sat Apr 25 09:23:43 2009, b...@abrij.org wrote:
The following work as expected:
my Num List sub f () { return (A) };
my Num List sub f () { return (1) };
my List sub f () { return () };
The following dies with Type check
On Fri, Jun 05, 2009 at 01:39:02PM +0200, Carl Mäsak wrote:
: Daniel (), Leon (), Daniel ():
: Then why is it that .get works fine for $*IN?
:
: while $*IN.get - $line {
: say $line
: }
:
:
: Because you're using a while loop instead of a for loop ;-)
:
: Worse. The code I wrote
23 matches
Mail list logo