Help for this page
my $sql = makeSql(\@xpid);
sub makeSql { my @xpid = shift; # <----------- error ... ^ # try: $return .= $$xpid[$i]; ^