I have two perl files. I want the second one to include the code of the first. Example:
@array = ([1, 2, 3],
[4, 5, 6]);
When perl2.pl is executed, the print statement returns ARRAY(0x1abf0cc) instead of the values in the array. Is there any way to use arrays in this fashion? $scalars work as expected.