for($num=0;$num<@test;$num++) { print $test[$num] . "\n"; }