I assume that 'fatal.pm' is a new pragma.

1) What (if anything) does it do, aside from turning 'fail' into a fatal
exception when used outside a regex?

2) Do you need to use it before you can (usefully) use 'fail' INSIDE a
regex?  (I would assume not, but thought I'd check.)


Dave



On Fri, 7 Jun 2002, Larry Wall wrote:

> On Fri, 7 Jun 2002, Dave Storrs wrote:
> >     Just to be sure I understood:  you meant that (A) yes, you can use
> > fail in a subroutine outside a regex, and (B) if you do, it is no
> > different from die.  Is that correct?
>
> Depends on the caller's use of "use fatal".  If they don't use fatal,
> it returns undef.
>
> Larry
>
>

Reply via email to