But it will not output 3|5|2|9|
Works for me?
c:\test>perl
@my_list = (3, 5, 2, 9);
for $i (0 ..$#my_list) {
print $my_list[$i]."|";
}
^Z
3|5|2|9|
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.