Ideally [at least, what I would like], managing a file on a remote
resource should be the same as managing one locally, eg.
my Amazon $fn = open("$path-to-input-file-location/$file-name", :r) or
die $!;
for $fn.readlines { };
$fn.close;
my Google $fn = open("$path-to-output-file-location/$fil
I am wrong. As I just looked at the source code I saw that there is
already a method (_md5_hex) that can be used to get the checksum as
string.
#!/usr/bin/perl6
Q:PIR {
load_bytecode 'Digest/MD5.pbc'
.local pmc md5sum, md5_sum_get
md5sum = get_root_global ['parrot'; 'Digest'], '_md5su
On Thu, 10 Jun 2010 09:17:23 +0200, Gerd Pokorra
wrote:
#!/usr/bin/perl6
Q:PIR {
load_bytecode 'Digest/MD5.pbc'
.local pmc md5sum, md5_sum_get
md5sum = get_root_global ['parrot'; 'Digest'], '_md5sum'
$P0 = md5sum('foo')
md5_sum_get = get_root_global ['parrot'; 'Digest'],
# New Ticket Created by Paweł Pabian
# Please include the string: [perl #75634]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75634 >
[16:25] rakudo: grammar X { token TOP { + } }; X.parse(" "); # why
it goes into infini
Here are some patches which
1) Modify Pod::PseudoPod::LaTeX to (when requested) emit LaTeX code which
requires that certain environments be defined (rather than enforcing style in
Pod::PseudoPod::LaTeX itself). In particular, the "sidebar" environment. Tests
included.
2) Add a "sidebar" envir
# New Ticket Created by Paweł Pabian
# Please include the string: [perl #75636]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75636 >
Erlangen build:
# testing with Array
perl6 -e 'my @t=1,2; my %h; %...@t}="one","two"; s
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75638]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75638 >
IIRC the spec says that multis should be exported by default, in Rakudo
they are not (mak
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75644]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75644 >
rakudo: role Lion[::T] {}; class LionMadeOfLions does Lion[Lion] {}
rakudo a54677: OUT
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75646]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75646 >
rakudo: my ::foo $x; say $x
rakudo a54677: OUTPUT«Null PMC access in type() [...]
* ma
# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #75648]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75648 >
rakudo: my ::&a &a
rakudo a54677: OUTPUT«===SORRY!===ResizablePMCArray: Can't
pop fro
# New Ticket Created by "Jonathan Leto"
# Please include the string: [perl #75650]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75650 >
Howdy,
I have attached a small patch that adds a test for loading perl6.pbc
via load
# New Ticket Created by Johnathan Swan
# Please include the string: [perl #75654]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75654 >
Hi
I discovered this a few days ago when messing around. My program tried to a
create
On Thu, Jun 10, 2010 at 9:15 AM, Richard Hainsworth
wrote:
> Ideally [at least, what I would like], managing a file on a remote resource
> should be the same as managing one locally, eg.
>
> my Amazon $fn = open("$path-to-input-file-location/$file-name", :r) or die
> $!;
> for $fn.readlines { };
>
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75640]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=75640 >
proto sub a($x) is export { say "in proto"; nextsame }
sub a(Str $x) { say "Str $x" };
su
On Tue Jun 08 06:03:24 2010, masak wrote:
> rakudo: say [mod] 100, 99, 88, 77, 66, 55, 44
> rakudo 34c1ba: OUTPUT«===SORRY!===Could not find sub
> &infix:»
> huh? huh.
> rakudo: say 100 mod 99
> rakudo 34c1ba: OUTPUT«1»
> * masak submits rakudobug
> rakudo: say [div] 100, 99, 88, 77, 66, 5
On Thursday, June 10, 2010, Leon Timmermans wrote:
> I agree it should be similar to normal FS interactoin to make matters
> as intuitive as possible, but I horrified by the idea of overloading
> open() that way
But open is already overloaded in p5, with pipes etc. We don't want
to repeat the mi
Hi Dean,
thank you very much for your patches. I've incorporated them, and I'm
really grateful for the useful input from somebody with stronger
LaTeX-fu than me.
Dean Serenevy wrote:
> 1) Modify Pod::PseudoPod::LaTeX to (when requested) emit LaTeX code
> which requires that certain environments
On Jun 10, 2010, at 07:22 , Leon Timmermans wrote:
I agree it should be similar to normal FS interactoin to make matters
as intuitive as possible, but I horrified by the idea of overloading
open() that way. That's a PHP mistake I wouldn't like seeing repeated.
If you want open to do something tha
Author: moritz
Date: 2010-06-11 08:11:20 +0200 (Fri, 11 Jun 2010)
New Revision: 31189
Modified:
docs/Perl6/Spec/S06-routines.pod
Log:
[S06] print default usage messag to standard output, by petition from avar++
Modified: docs/Perl6/Spec/S06-routines.pod
19 matches
Mail list logo