Leser: 4
4 Einträge, 1 Seite |
1
2
3
4
5
6
7
8
9
10
11
@ids = (32,36,38,34,35);
@bg = trans_id_array(@ids,$varpar1,$varpar2);
sub psh_trans_id_array
{
@ids = $_[0];
$var1 = $_[1];
$var2 = $_[2];
foreach (@ids) {
$idss .= ",".$_;
}
}
1
2
3
4
5
6
7
8
9
10
11
12
my @ids = (32,36,38,34,35);
my @bg = trans_id_array(\@ids,$varpar1,$varpar2);
sub psh_trans_id_array
{
my @ids = @{$_[0]}; # ersten Parameter dereferenzieren
my $var1 = $_[1];
my $var2 = $_[2];
my $idss = "";
foreach (@ids) {
$idss .= ",".$_;
}
}
my $idss = join(",",@ids)
1
2
3
4
5
6
7
8
9
10
11
@ids = (32,36,38,34,35);
@bg = trans_id_array(\@ids,$varpar1,$varpar2);
sub psh_trans_id_array
{
@ids = @{$_[0]};
$var1 = $_[1];
$var2 = $_[2];
foreach (@ids) {
$idss .= ",".$_;
}
}
4 Einträge, 1 Seite |