in reply to trap warnings in $@

Thanks to all of you for your comments - as you've probably guessed I'm quite a novice at Perl. I've decided to take the easy option, dispense with eval and just capture the return code from $? ...that seems to work a treat....thanks again