Re: say vs print for .WHAT

2012-06-28 Thread Smylers
Patrick R. Michaud writes: > print will stringify its arguments and write them to $*OUT. > > say will invoke .gist on its arguments and write them (along with a > final newline) to $*OUT. Hi there. What's the rationale for the difference there? Under what circumstances are each likely to be use

Can't build NQP on a Raspberry Pi (without bodging)

2012-06-28 Thread Nicholas Clark
The Raspberry Pi has a 700MHz ARM11-based CPU, 256Mb of RAM (of which at least 32Mb is used by the GPU), and uses an SD card for the filesystem. This is how it's $35 (+ tax and shipping) It will build Perl 5 in 2 hours, and takes a further 4 hours to run the tests. (all pass) So, I attempted to

[perl #113888] [BUG] "print 'a'.WHAT;" leaks internal variable

2012-06-28 Thread via RT
# New Ticket Created by Siddhant Saraf # Please include the string: [perl #113888] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=113888 > $ perl6 --version This is perl6 version 2012.06-41-g88a9d69 built on parrot 4.5

Re: say vs print for .WHAT

2012-06-28 Thread Patrick R. Michaud
Oops, typo: On Thu, Jun 28, 2012 at 11:39:22AM -0500, Patrick R. Michaud wrote: > To get say to act like "print with a newline", one can do > > say [~] ar That should be say [~] arg1, arg2, arg3 ... For the 'a'.WHAT case, this gives > say [~] 'a'.WHAT use of uninitialized valu

Re: say vs print for .WHAT

2012-06-28 Thread Patrick R. Michaud
On Thu, Jun 28, 2012 at 09:41:48PM +0530, Siddhant Saraf wrote: > (In Rakudo's REPL) > > > say 'a'.WHAT; > Str() > > print 'a'.WHAT; > use of uninitialized variable $v of type Str in string context > True > > > > What is happening here? Is this a bug? > ( Coz I don't see any $v variable anywhere

Re: say vs print for .WHAT

2012-06-28 Thread yary
> May I also take this opportunity to ask someone to explain to me what > exactly are the > differences between say and print? Might be that "say" calls ".gist" whereas "print" stringifies?

Re: say vs print for .WHAT

2012-06-28 Thread Parrot Raiser
> May I also take this opportunity to ask someone to explain to me what > exactly are the differences between say and print? > I can't help you with the tricky stuff, but the difference between "say" and "print" is that "say" appends a newline (\n) to the output, while "print" doesn't. The \n is

say vs print for .WHAT

2012-06-28 Thread Siddhant Saraf
(In Rakudo's REPL) > say 'a'.WHAT; Str() > print 'a'.WHAT; use of uninitialized variable $v of type Str in string context True > What is happening here? Is this a bug? ( Coz I don't see any $v variable anywhere.) What is the "True" indicating? (in niecza's REPL) niecza> say 'a'.WHAT; Str() niecz

[perl #113886] Re: no ICU lib loaded - rakudo and parrot issue

2012-06-28 Thread via RT
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #113886] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=113886 > On Thu, Jun 28, 2012 at 02:40:40PM +0200, Moritz Lenz wrote: > Am 28.06.201

Re: no ICU lib loaded - rakudo and parrot issue

2012-06-28 Thread Patrick R. Michaud
On Thu, Jun 28, 2012 at 02:40:40PM +0200, Moritz Lenz wrote: > Am 28.06.2012 14:31, schrieb Gabor Szabo: > >The following script generates an exception > > > >use v6; > > > >my %count; > >my $s = 'שלום'; > >%count{$s} = 1; > >say $s; > >say %count.perl; > > > >no ICU lib loaded > > in method perl

Re: Panda with git:// or https:// ?

2012-06-28 Thread Gabor Szabo
On Thu, Jun 28, 2012 at 6:00 PM, Moritz Lenz wrote: > FWIW the reason I always use git:// over https:// is that at some point > cloning from github via https:// would result in strange errors on the > client side (iirc something about missing objects). > > I have no idea if that's fixed, but I hav

[perl #113884] Interpolation into regexes does not participate in LTM

2012-06-28 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #113884] # in the subject line of all future correspondence about this issue. # https://rt.perl.org:443/rt3/Ticket/Display.html?id=113884 > < moritz> r: my $x = 'ab'; say ('ab' ~~ / a | b | $x /).Str <+p6eval> rakudo 88a9d

Re: Panda with git:// or https:// ?

2012-06-28 Thread Moritz Lenz
FWIW the reason I always use git:// over https:// is that at some point cloning from github via https:// would result in strange errors on the client side (iirc something about missing objects). I have no idea if that's fixed, but I haven't seen a reason to change back to https either. Am 28

Re: Panda with git:// or https:// ?

2012-06-28 Thread Gabor Szabo
On Thu, Jun 28, 2012 at 5:15 PM, Tadeusz Sośnierz wrote: > On Thursday, June 28, 2012 14:32:58 Gabor Szabo wrote: >> In panda all the projects, where there is a source URL, are listed with >> their git:// url except of https://github.com/perlpilot/p6-File-Temp.git > Where is that? in projects.jso

[perl6/specs] 275caa: get rid of Str.bytes

2012-06-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/perl6/specs Commit: 275caab5dae4ce80e4a837300f2ac5761dc5190f https://github.com/perl6/specs/commit/275caab5dae4ce80e4a837300f2ac5761dc5190f Author: Moritz Lenz Date: 2012-06-28 (Thu, 28 Jun 2012) Changed paths: M S02-bi

Re: Panda with git:// or https:// ?

2012-06-28 Thread Tadeusz Sośnierz
On Thursday, June 28, 2012 14:32:58 Gabor Szabo wrote: > In panda all the projects, where there is a source URL, are listed with > their git:// url except of https://github.com/perlpilot/p6-File-Temp.git Where is that? > I am just wondering why, and if it would not be better if that was > also usi

Re: no ICU lib loaded - rakudo and parrot issue

2012-06-28 Thread Moritz Lenz
Am 28.06.2012 14:31, schrieb Gabor Szabo: The following script generates an exception use v6; my %count; my $s = 'שלום'; %count{$s} = 1; say $s; say %count.perl; no ICU lib loaded in method perl at src/gen/CORE.setting:3892 in method perl at src/gen/CORE.setting:5921 in method perl at

Panda with git:// or https:// ?

2012-06-28 Thread Gabor Szabo
In panda all the projects, where there is a source URL, are listed with their git:// url except of https://github.com/perlpilot/p6-File-Temp.git I am just wondering why, and if it would not be better if that was also using git:// Some project have no source URL: - Druid - GGE - HTML::Template - L

no ICU lib loaded - rakudo and parrot issue

2012-06-28 Thread Gabor Szabo
The following script generates an exception use v6; my %count; my $s = 'שלום'; %count{$s} = 1; say $s; say %count.perl; no ICU lib loaded in method perl at src/gen/CORE.setting:3892 in method perl at src/gen/CORE.setting:5921 in method perl at src/gen/CORE.setting:6115 in block at code/

Re: %*ENV is missing?

2012-06-28 Thread Gabor Szabo
On Thu, Jun 28, 2012 at 12:18 PM, Moritz Lenz wrote: > Hi, > > Am 28.06.2012 11:09, schrieb Gabor Szabo: > >> I have all kinds of values in %*ENV but %*ENV is not there >> while echo $HISTFILE has value. >> >> Is this a bug or my misunderstanding? > > > Maybe $HISTFILE is an internal variable in y

Re: %*ENV is missing?

2012-06-28 Thread Moritz Lenz
Hi, Am 28.06.2012 11:09, schrieb Gabor Szabo: I have all kinds of values in %*ENV but %*ENV is not there while echo $HISTFILE has value. Is this a bug or my misunderstanding? Maybe $HISTFILE is an internal variable in your shell, not an environment variable? Try export HISTFILE perl6 -e 's

%*ENV is missing?

2012-06-28 Thread Gabor Szabo
Hi, I have all kinds of values in %*ENV but %*ENV is not there while echo $HISTFILE has value. Is this a bug or my misunderstanding? regards Gabor