It WAS syntax - I used chop inappropriately, and my script was actually simpler than most of the ones I was sent as possible fixes (call it beginners luck...) Anyhow, I REALLY appreciate the help, and as I plow my way through the wonders of Perl, I know where to come for generous help! Regards Brian ************************************************************** * Brian G Segal - astro@juliet.stfx.ca - redgull@fox.nstn.ca * * R.R. #5 Antigonish, Nova Scotia * * Canada B2G 2L3 * * Phone/Fax 902-783-2772 * * Home page: http://fox.nstn.ca/~redgull * **************************************************************