in reply to Re^3: De-Reference an array
in thread De-Reference an array

If I am providing contents of the array then it will not be possible to extract the info in the 2nd script.
(@ref_arr1,@ref_arr2)=@ARGV;
@ref_arr2 will always be empty if arrays are not passed by reference. Please correct me if I am wrong

Replies are listed 'Best First'.
Re^5: De-Reference an array
by Utilitarian (Vicar) on Oct 12, 2009 at 06:59 UTC
    You are not wrong. You could provide the two arrays with a separator or as 2 quoted strings which you then split into arrays.