August 1999 Return to the Perl Hardware Store Slide #15

Autocroaking

        use Carp qw(carp croak);
        if (some unlikely error condition occurs) {
          require Carp;
          Carp::croak("Millions for defense, but not one cent for tribute");
        }


Next Copyright © 1999 M-J. Dominus