susan lam wrote: > Is it possible to execute two actions such as a print > statement and a subroutine after die? No. What you should do, is the other actions first and then the die or one way:
if ( ! open(FILE, $file) ) { sub1(); sub2(); die .... } Wags ;) > > open(FILE, $file) || die "Cannot open file" && > email()??? > > thanks in advance. > > susan > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com ******************************************************* This message contains information that is confidential and proprietary to FedEx Freight or its affiliates. It is intended only for the recipient named and for the express purpose(s) described therein. Any other use is prohibited. ******************************************************* -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>