Thread array reference+2
(13 answers)
Opened by Graf Herschel at 2015-12-28 14:36 Code (perl): (dl
)
1 2 3 4 5 6 7 8 9 10 use strict; use warnings; sub func { my $arr = shift; print $$arr; } my @arr = ("null","eins","zwei","drei"); func(\$arr[2]); ergibt zwei |