$! after using backticks

2001-05-23 Thread Mitchell, Ronald
Hi. Can someone explain this to me? I want to check that a backtick command has executed OK. I thought I could do that by looking at the $! variable. But I find that if I do this for example $output = `pwd` ; print "$output\n" ; print "\$! = $!\n" ; I get /home/ron $! = No such file or direc

RE: $! after using backticks

2001-05-23 Thread Mitchell, Ronald
ris and Windows.) Thanks again - I'd been struggling with this for ages. (And thanks to the others who've replied as I've been typing this!) Ron -Original Message- From: Peter Cornelius [mailto:[EMAIL PROTECTED]] Sent: 23 May 2001 19:14 To: 'Mitchell, Ronald'; '[