in reply to How do I print a partial array?
foreach ( @b ) { print "$_\n" if defined $_; } [download]