my $switchnum = 15; my $calltype = []; # Empty array ref print "ref of switchnum = ref($switchnum) \n ref of calltype = ref($calltype) \n";