I don't want to print a tab at the end...is there a way to do this with a "foreach" loop? Maybe a "special" char that says I am at the end of the array? ie: print "\t" unless EOAforeach (@data) { print "$_"; print "\t"; }
In reply to looping idiom by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |