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:
&g
Each line is executed independently. Local variables from 1 line of code
will not persist between returns.
Some things do persist though, classes for instance will persist, roles will
persist, grammars will persist, but sub routines will not, neither will
variables. I believe there are plans for s
http://github.com/petdance/vim-perl has vim syntax highlighting for perl 6.
2009/12/7 Steffen Schwigon
> "Víctor A. Rodríguez (Bit-Man)" writes:
> > Hi perlsixers,
> >
> > we've been working a bit on Perl 6 lately [1] and some work, even the
> > basic coding, would be great if we use some IDE.