in reply to Illegal seek error for system()
You would think system() set $! to the appropriate value, but nope, that doesn't happen. Learned it the hard way...