Bug or feature? Hash autovivification

2008-12-31 Thread Ovid
Just stumbled across this, but I can't tell from S09 if this is a bug or feature: $ ./perl6 -e 'my %foo; if %fooa {}; say %foo.perl' {a = undef} I wasn't expecting auto-vivification there. The examples in S09 use HoH instead of a flat hash: But these bindings do autovivify:

Re: Bug or feature? Hash autovivification

2008-12-31 Thread Larry Wall
On Wed, Dec 31, 2008 at 08:06:48AM -0800, Ovid wrote: : Just stumbled across this, but I can't tell from S09 if this is a bug or feature: : : $ ./perl6 -e 'my %foo; if %fooa {}; say %foo.perl' : {a = undef} Definitely bug. Rvalues aren't supposed to autovivify. Larry

r24707 - docs/Perl6/Spec

2008-12-31 Thread pugs-commits
Author: particle Date: 2008-12-31 19:50:40 +0100 (Wed, 31 Dec 2008) New Revision: 24707 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] fix typo, s1n++ Modified: docs/Perl6/Spec/S19-commandline.pod === ---

r24708 - docs/Perl6/Spec

2008-12-31 Thread pugs-commits
Author: particle Date: 2008-12-31 19:53:43 +0100 (Wed, 31 Dec 2008) New Revision: 24708 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] metasyntactic options should shout, to stand out. TimToady++ Modified: docs/Perl6/Spec/S19-commandline.pod

r24711 - docs/Perl6/Spec

2008-12-31 Thread pugs-commits
Author: particle Date: 2008-12-31 20:37:46 +0100 (Wed, 31 Dec 2008) New Revision: 24711 Modified: docs/Perl6/Spec/S06-routines.pod Log: [S06] update to shortname syntax in command-line examples Modified: docs/Perl6/Spec/S06-routines.pod

r24712 - docs/Perl6/Spec

2008-12-31 Thread pugs-commits
Author: particle Date: 2008-12-31 20:39:19 +0100 (Wed, 31 Dec 2008) New Revision: 24712 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] update C--CHECK{...} syntax with more standard C-e 'CHECK{...}' Modified: docs/Perl6/Spec/S19-commandline.pod

r24714 - docs/Perl6/Spec

2008-12-31 Thread pugs-commits
Author: particle Date: 2008-12-31 21:16:50 +0100 (Wed, 31 Dec 2008) New Revision: 24714 Modified: docs/Perl6/Spec/S19-commandline.pod Log: [S19] s/bundl/cluster/g; update date/version Modified: docs/Perl6/Spec/S19-commandline.pod