Re: Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-18 Thread Veli-Pekka Tätilä
Suresh Govindachar wrote: I have been trying to not die when calling perldoc, but the code below keeps dying inside perldoc. The code below does show that eval is happening at runtime, and that the syntax used for shutting off __DIE__ does work when perldoc is not involved. Hi, First

Re: Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-18 Thread $Bill Luebkert
Suresh Govindachar wrote: =head Hello, I have been trying to not die when calling perldoc, but the code below keeps dying inside perldoc. The code below does show that eval is happening at runtime, and that the syntax used for shutting off __DIE__ does work when

Re: Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-18 Thread $Bill Luebkert
$Bill Luebkert wrote: (my $prog = $0) =~ s/^.*[\\\/]//; my $usage = EOD; Usage: $prog [-d] [-a] [-f] [-q] [-s] [args] -d debug (-d=2 for perldoc debug) -a if present perform the following logic, else call perldoc with arglist and return result of

Even after runtime eval with no __DIE__, can't avoid dying inside perldoc

2005-12-17 Thread Suresh Govindachar
=head Hello, I have been trying to not die when calling perldoc, but the code below keeps dying inside perldoc. The code below does show that eval is happening at runtime, and that the syntax used for shutting off __DIE__ does work when perldoc is not involved. So how can