in reply to Nested Evals in Old Perl 5.10

Out of curiosity, does it work if you use die over croak? You are using warn rather than carp; I figure you stick with the pair provided by Carp.

Anyway, I just noticed the inconsistency. Maybe it's nothing.

Replies are listed 'Best First'.
Re^2: Nested Evals in Old Perl 5.10
by mikkoi (Beadle) on Aug 25, 2024 at 09:01 UTC

    No difference if I switch croak to die.

    warn is only used to print to stderr.

      Cool, thank you for checking for that.