> Hi All! Howdy!
> > I have the following trouble: > > I have an script in which several code lines must be executed > so if one of these lines is not executed the other lines must > neither be executed, and I would like to know if perl has > something like asp transactions to force the execution of > several code lines. Not sure about the exact nature of asp's tarnsactions but I think you are wanting eval. eval { use CGI; use DBI; use MOduleThat::DoesnotExist; }; if($@) { die "I need more power captain!"; } else { print $ModuleThat::DoesnotExist::variable; # other code you want run only if the code in the eval block is ok } perldoc -f eval HTH DMuey > > Thank you very much for you help. > > Miguel Angel > > > ***************************** > Madrid 2003 Global IPv6 Summit > Presentations and videos on-line at: > http://www.ipv6-es.com > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]