Hi,list,

When a subroutine return a value,for example,this value is a pointer to an
array,which is get defined in this subroutine.When out of the
subroutine,some a statement call this subroutine and receive the return
value to a variable named as $aaa.Is $aaa a duplicate of the pointer in that
subroutine?Thanks.

sub test {
    @abc = qw/aa bb cc dd/;
    return [EMAIL PROTECTED];
}

my $aaa = test( );

Reply via email to