I think the easiest way would be to add a method in the file
runtime/parrot/library/Digest/MD5.pir that gives the md5 checksum back
as a string. I can look at the source code and try to do this for you if
you want and add a method may be called _md5_sum_get.
-- Gerd
Am Mittwoch, den 09.06.2010,
In data 10 giugno 2010 alle ore 08:48:42, Gerd Pokorra
g...@zimt.uni-siegen.de ha scritto:
I think the easiest way would be to add a method in the file
runtime/parrot/library/Digest/MD5.pir that gives the md5 checksum back
as a string. I can look at the source code and try to do this for you
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 =
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'],
On Thu, 10 Jun 2010 09:17:23 +0200, Gerd Pokorra g...@zimt.uni-siegen.de
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 =
# New Ticket Created by Paweł Pabian
# Please include the string: [perl #75634]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75634
[16:25] bbkr rakudo: grammar X { token TOP { ws+ } }; X.parse( ); # why
it goes
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
# New Ticket Created by Paweł Pabian
# Please include the string: [perl #75636]
# in the subject line of all future correspondence about this issue.
# URL: 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;
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75638]
# in the subject line of all future correspondence about this issue.
# URL: 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
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #75644]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75644
masak rakudo: role Lion[::T] {}; class LionMadeOfLions does Lion[Lion] {}
p6eval
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #75646]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75646
diakopter rakudo: my ::foo $x; say $x
p6eval rakudo a54677: OUTPUT«Null PMC access in
# New Ticket Created by Carl Mäsak
# Please include the string: [perl #75648]
# in the subject line of all future correspondence about this issue.
# URL: http://rt.perl.org/rt3/Ticket/Display.html?id=75648
diakopter rakudo: my ::a a
p6eval rakudo a54677:
# New Ticket Created by Jonathan Leto
# Please include the string: [perl #75650]
# in the subject line of all future correspondence about this issue.
# URL: 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
# New Ticket Created by Johnathan Swan
# Please include the string: [perl #75654]
# in the subject line of all future correspondence about this issue.
# URL: 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
On Thu, Jun 10, 2010 at 9:15 AM, Richard Hainsworth
rich...@rusrating.ru 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
# New Ticket Created by Moritz Lenz
# Please include the string: [perl #75640]
# in the subject line of all future correspondence about this issue.
# URL: 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 };
On Tue Jun 08 06:03:24 2010, masak wrote:
masak rakudo: say [mod] 100, 99, 88, 77, 66, 55, 44
p6eval rakudo 34c1ba: OUTPUT«===SORRY!===Could not find sub
infix:mod»
masak huh?colomon huh.
masak rakudo: say 100 mod 99
p6eval rakudo 34c1ba: OUTPUT«1»
* masak submits rakudobug
colomon
On Thursday, June 10, 2010, Leon Timmermans faw...@gmail.com 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
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
20 matches
Mail list logo