Re: slurpy hash

2010-08-18 Thread John Harrison
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

Re: Symbol '$x' not predeclared in

2010-03-10 Thread John Harrison
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

Re: Perl 6 IDEs

2009-12-07 Thread John Harrison
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.