On Jan 18, amrit kumar said:

>what i want to proove is...supposer that i assign an
>array @a = (1,2);  and then i define another array @b
>which is equal to @a.I have to proove that this is
>done by assigning a copy of array @a to @b rather than
>by reference.

To determine if two variables point to the same data or to COPIES of the
same data, see if MODIFYING one of the variables MODIFIES the other.

-- 
Jeff "japhy" Pinyan      [EMAIL PROTECTED]      http://www.pobox.com/~japhy/
RPI Acacia brother #734   http://www.perlmonks.org/   http://www.cpan.org/
** Look for "Regular Expressions in Perl" published by Manning, in 2002 **
<stu> what does y/// stand for?  <tenderpuss> why, yansliterate of course.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to