in reply to Re^4: If you believe in Lists in Scalar Context, Clap your Hands
in thread If you believe in Lists in Scalar Context, Clap your Hands
However, I would be very leery of using a relatively new feature like that that has probably not been used much in that way.$ perl use strict; use warnings; my ($i,$j); sub f :lvalue { ($i,$j) } (f()) = (4,5); print("$i,$j\n"); __END__ 4,5
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^6: If you believe in Lists in Scalar Context, Clap your Hands
by ikegami (Patriarch) on Oct 28, 2008 at 10:21 UTC | |
Re^6: If you believe in Lists in Scalar Context, Clap your Hands
by JavaFan (Canon) on Oct 28, 2008 at 11:05 UTC | |
by ysth (Canon) on Oct 28, 2008 at 18:34 UTC |