in reply to Re^3: Referencing in Function not working correctly.
in thread Referencing in Function not working correctly.
"Please explain why you are doing these things."I thought it would be safer to copy it in the functions. So, what your saying is if I returned @bonly (as below), perl will not copy it will just give me pointer:My original problem is @bonly changes after the function call and before function ended? Do you know why?@bonly = deDuppedArray(\@currentListing, \@previousListing, \@isec_plu +s_bonly );
- Comment on Re^4: Referencing in Function not working correctly.
- Download Code
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Referencing in Function not working correctly.
by jwkrahn (Abbot) on Apr 02, 2010 at 19:31 UTC |