Thread array reference+2 (13 answers)
Opened by Graf Herschel at 2015-12-28 14:36

GwenDragon
 2015-12-28 15:04
#183278 #183278
User since
2005-01-17
14748 Artikel
Admin1
[Homepage]
user image
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

View full thread array reference+2