Am 18.08.2010 01:33, schrieb Darren Duncan:
David H. Adler wrote:
Hm. So how are valid parameter names defined? Identifiers in perl6 seem
to be composed of letters, digits and underscores (and hyphens and
apostrophes between letters).
That's correct.
Are parameter names defined differently
On Tue, Aug 17, 2010 at 6:49 PM, Aaron Sherman wrote:
> On Tue, Aug 17, 2010 at 6:48 PM, Aaron Sherman wrote:
>> On Tue, Aug 17, 2010 at 11:51 AM, Moritz Lenz wrote:
>>
>>> Aaron Sherman wrote:
>>> > I did eventually discover that I needed to do this. The problem then
>>> > became that I can't r
# New Ticket Created by Patrick Abi Salloum
# Please include the string: [perl #77302]
# in the subject line of all future correspondence about this issue.
# http://rt.perl.org/rt3/Ticket/Display.html?id=77302 >
sub foo {
my @a = (1,2,3,4,5);
gather {
my $val ;
On Tue, Aug 17, 2010 at 09:30:03PM -0700, Will Coleda via RT wrote:
> On Tue Nov 17 08:32:14 2009, masak wrote:
> > rakudo: say 0e999 # masak
> > rakudo 7347ec: undefined identifier 'NaN' [...]
> > ng: say 0e999
> > ng 94fa72: error:imcc:syntax error, unexpected IDENTIFIER,
> >
On Wed, Aug 18, 2010 at 12:41 PM, Nicholas Clark wrote:
> On Tue, Aug 17, 2010 at 09:30:03PM -0700, Will Coleda via RT wrote:
>> On Tue Nov 17 08:32:14 2009, masak wrote:
>> > rakudo: say 0e999 # masak
>> > rakudo 7347ec: undefined identifier 'NaN' [...]
>> > ng: say 0e999
>> >
One thing also worth noting is that $1 is an alias to $/[1].
perl6
> my $1 = 2; say $1;
2
> my $1 = 2; say $/[1];
2
Also, $ is an alias to $/. This would make them rather difficult
to use in parameters, IMO.
--
John Harrison
On Wed, Aug 18, 2010 at 3:12 AM, Moritz Lenz wrote:
>
>
> Am 18.0