in reply to typeglob assignment question
Try:print @potato, "\n"; Or, better still: print join(' ', @potato), "\n";