Ovid skribis 2005-04-10 10:47 (-0700):
> Apologies if this has been covered. What should this do?
> ($x,$y) := ($y,$x);
It would let $x be a second name for the variable that is also called
$y, and $y for $x. The old names $x and $y are overwritten, so
essentially the names for the two variable
On 10/04/05 09:58 -0400, Aaron Sherman wrote:
> On Sun, 2005-04-10 at 14:02 +0300, Yuval Kogman wrote:
> > Please don't be lazy, everyone, and look at this:
> >
> > http://svn.openfoundry.org/pugs/docs/
> >
> > There are some more drafts that should be reviewed, and more will
> > probably follow.
Ingo Blechschmidt wrote:
then the S29 draft (http://www.rodadams.net/Perl/S29.html) needs
updating, as currently it states:
What is returned at each element of the iteration varies
with function. values returns the value of the associated
element; **kv returns a 2 element list in (index, val
Hi all,
Apologies if this has been covered. What should this do?
($x,$y) := ($y,$x);
In Perl5:
$x=2; $y=3;
print "x: $x y: $y\n";
(*::x, *::y) = (*::y, *::x);
$y=4;
print "x: $x y: $y\n";
$x=5;
print "x: $x y: $y\n";
This program shows typeglob aliasing. If we try to alias sw
Hi,
A06 states:
> Code
>|
> | |
>RoutineBlock
> |_____|___
> | | | ||
On Sun, 2005-04-10 at 14:02 +0300, Yuval Kogman wrote:
> Please don't be lazy, everyone, and look at this:
>
> http://svn.openfoundry.org/pugs/docs/
>
> There are some more drafts that should be reviewed, and more will
> probably follow.
Can we please be rid of:
http://svn.openfoundry.org/pugs/
Please don't be lazy, everyone, and look at this:
http://svn.openfoundry.org/pugs/docs/
There are some more drafts that should be reviewed, and more will
probably follow.
--
() Yuval Kogman <[EMAIL PROTECTED]> 0xEBD27418 perl hacker &
/\ kung foo master: uhm, no, I think I'll sit this one
Hi,
Luke Palmer luqui.org> writes:
> Stevan Little writes:
> > One tests shows $pair.kv returning an array with two elements (the key
> > and value of the pair). (This is also how Pugs currently implements
> > this.)
>
> The former is certainly correct. When all else fails, consider a
Per autrijus request, I have written a preliminary Synopsis 26 -- Perl
Documentation. For your ripping apart pleasures:
http://svn.openfoundry.org/pugs/docs/S26draft.pod
Cheers, Brian