Y
yoxoman
Hello,
In the expressions
my $ref = \foo();
or
my $ref = \$myobj->foo
$ref is a reference to a scalar, even if the foo function returns an
array (in that case, $ref points to an element of array...)
Do you know why ?
Thanks.
In the expressions
my $ref = \foo();
or
my $ref = \$myobj->foo
$ref is a reference to a scalar, even if the foo function returns an
array (in that case, $ref points to an element of array...)
Do you know why ?
Thanks.