On Sun, Mar 06, 2005 at 02:13:09AM -0700, Luke Palmer wrote:
: What is output:
:
: sub foo($x, ?$y, [EMAIL PROTECTED]) {
: say "x = $x; y = $y; z = @z[]";
: }
:
: my @a = (1,2,3);
: foo($x, @a);
I think it should say something like:
Use of undefined value at foo line
On Sun, Mar 06, 2005 at 02:13:09 -0700, Luke Palmer wrote:
> What is output:
>
> sub foo($x, ?$y, [EMAIL PROTECTED]) {
> say "x = $x; y = $y; z = @z[]";
> }
>
> my @a = (1,2,3);
> foo($x, @a);
And is
$a ==> foo $x;
The same?
--
() Yuval Kogman <[EMAIL PROTEC
Ok, this might be useless, but maybe you like to know:
All tests successful, 1 test and 64 subtests skipped.
Files=135, Tests=2252, 798 wallclock secs (299.99 cusr + 96.80 csys =
396.79 CPU)
On a PIII 1Ghz/256MB RAM, running Slackware Linux
Cheers,
Alberto
Leopold Toetsch wrote:
On behalf of the
On behalf of the Parrot team I'm proud to announce the release of
Parrot 0.1.2.
What is Parrot?
Parrot is a virtual machine aimed at running Perl6 and other dynamic
languages.
Parrot 0.1.2 contains a lot of new stuff:
- New string handling code. Strings now have charset and encoding
- Parts of a ge
Luke Palmer <[EMAIL PROTECTED]> wrote:
> What is output:
>
> sub foo($x, ?$y, [EMAIL PROTECTED]) {
> say "x = $x; y = $y; z = @z[]";
> }
>
> my @a = (1,2,3);
> foo($x, @a);
IANALarry, but I'd think
x = ($x's value); y = 1 2 3; z =
The $y is implicitly typed Any, and
What is output:
sub foo($x, ?$y, [EMAIL PROTECTED]) {
say "x = $x; y = $y; z = @z[]";
}
my @a = (1,2,3);
foo($x, @a);
Thanks,
Luke