On 07/14/2011 11:47 PM, Parrot Raiser wrote:
When a subroutine is invoked with an empty parameter list, as follows:
run_stuff();
sub run_stuff {
my ($parm) = @_;
say Parameter is $parm;
}
@_[0] contains Any().
Not Any(), but Any (which say() prints as Any() to ease
On Sun, Jul 17, 2011 at 10:40:01AM +0200, Moritz Lenz wrote:
On 07/14/2011 11:47 PM, Parrot Raiser wrote:
When a subroutine is invoked with an empty parameter list, as follows:
run_stuff();
sub run_stuff {
my ($parm) = @_;
say Parameter is $parm;
}
@_[0] contains
On Jul 14, 2011, at 4:47 PM, Parrot Raiser wrote:
When a subroutine is invoked with an empty parameter list, as follows:
run_stuff();
sub run_stuff {
my ($parm) = @_;
say Parameter is $parm;
}
@_[0] contains Any().
Should it?
Yes, but only because of the way you are inspecting it.
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}
It's a bug. In order to simplify the slicing implementation
Rakudo currently
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