hi, you can redefined the $SIG{__DIE__} handle to do that. such as: $SIG{__DIE__}=\&yourdie; sub yourdie{ ... die; }
> Hi! > > When die is used, there is message something like: > > x doesn't exist as an environment variable > Died at lsh.pl line 510, <STDIN> line 6. > Childprocess complete > > I just want the current process to die without giving any output to > screen, something like this: > > x doesn't exist as an environment variable > Childprocess complete > > Is there any substitue for the die-command to achieve this? > > /G > @varupiraten.se > > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > > ______________________________________ Get your FREE 100MB email today at http://www.wapda.com -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>