|
NAMECarp::Datum::Strip - strips most Carp::Datum calls lexicallySYNOPSISuse Carp::Datum::Strip qw(datum_strip); datum_strip("-", "-"); datum_strip($file, "$file.new", ".bak"); DESCRIPTIONThis module exports a single routine, datum_strip(), whose purpose is to remove calls to "Carp::Datum" routines lexically.Because stripping is done lexically, there are some restrictions about what is actually supported. Unless the conventions documented in Carp::Datum are followed, stripping will be incorrect. The general guidelines are:
There are two calls that will never be stripped: VERIFY() and DTRACE(). The VERIFY() is meant to be preserved (or "DREQUIRE" would have been used). "DTRACE", when called, will be remapped dynamically to some "Log::Agent" routine, depending on the trace level. See Carp::Datum for details. INTERFACEThe interface of the datum_strip() routine is:
AUTHORSChristophe Dehaudt and Raphael Manfredi are the original authors.Send bug reports, hints, tips, suggestions to Dave Hoover at <squirrel@cpan.org>. SEE ALSOCarp::Datum(3).
Visit the GSP FreeBSD Man Page Interface. |