Hi John "John Dunn" <[EMAIL PROTECTED]> wrote in message A05E0089719FD311911400A0249EE7E59534F5@FRASERNT">news:A05E0089719FD311911400A0249EE7E59534F5@FRASERNT... > open(MYFILE, ">$myfile") | die "Cannot open file"; > > Where does the die message go? When I run my script from the command prompt > I do not see the die message. I do get an error about the directory for the > file not existing, but it is not my die message.
I'm sorry to have to tell you, but 'die' messages don't go to heaven. They just appear on STDERR with your pet rabbit. Have you got STDERR diverted to a file somehow? Don't worry, it'll be happy there. Uncle Rob -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]