RE: Overriding 'die' Functions

2004-03-22 Thread Bob Showalter
[EMAIL PROTECTED] wrote: > ... > Sometimes my script throw a die and I just know the line where was > throw. What I want is to have the all stack, something like java. Look at the standard module 'Carp'. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECT

Re: Overriding 'die' Functions

2004-03-22 Thread Robin Sheat
On Mon, Mar 22, 2004 at 11:15:36AM +0100, [EMAIL PROTECTED] wrote: > I'm working in a project that shall have +- the time of the Internet has we > now it today. Umm...what does that mean? > Sometimes my script throw a die and I just know the line where was throw. > What I want is to have the all

RE: Overriding 'die' Functions

2004-03-22 Thread Marcos . Rebelo
er to add some information to the die string and let the die do is job. Thanks Marcos -Original Message- From: WC -Sx- Jones [mailto:[EMAIL PROTECTED] Sent: Friday, March 19, 2004 6:25 PM To: [EMAIL PROTECTED] Subject: Re: Overriding 'die' Functions [EMAIL PROTECTED] wrote: &g

Re: Overriding 'die' Functions

2004-03-19 Thread WC -Sx- Jones
[EMAIL PROTECTED] wrote: I would like to add some text each time someone calls die. in my books says this shoud work *CORE::GLOBAL::die = sub { ... } can someone give me a example? Are you wantgint to capture die and continue? Web sites such as the following are disappearing quickly: http://ii

Overriding 'die' Functions

2004-03-19 Thread Marcos . Rebelo
I would like to add some text each time someone calls die. in my books says this shoud work *CORE::GLOBAL::die = sub { ... } can someone give me a example? MArcos -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]