in reply to Help me not use for($i=0;$i=$#array;$i++)...Please!

grep {$_!=5} @array;

After Compline,
Zaxo