in reply to Re^9: Perl vs C
in thread Perl vs C
Just like in C, I can pass a reference to a list to be modified and it will be modified!
Please demonstrate, with working and tested Perl, how to take a reference to a list without using an array. At that point, I will believe that Perl supports mutable first-class lists as data structures (instead of multiple items on the Perl stack or a series of comma-separated expressions in source code).
|
|---|