- or download this
@my_list = (3, 5, 2, 9);
for $i (0 ..$#my_list) {
print $my_list[$i]."|";
}
- or download this
3529
- or download this
print $my_list[$i]."XX";
- or download this
3XX5XX2XX9XX
- or download this
print $my_list[$i]."|n";
- or download this
3|n5|n2|n9|n
- or download this
3|5|2|9|
- or download this
print $my_list[$i]."\|";
- or download this
@my_list = (3, 5, 2, 9);
...
... a bunch more stuff...
}
print $my_id_list;
- or download this
#trim trailing delimiter
$my_id_list =~ s/\|$//;