in reply to Break an array. I think.
Hi vox2000, Try this,
@datan = ("1","2","3","4","5","6"); print map{($_ eq "3")?("$_\n"):("$_ ")} @datan; __END__ 1 2 3 4 5 6 [download]
Regards,Velusamy R.