in reply to Re^2: How to prevent references from stringifying?
in thread How to prevent references from stringifying?
UPDATE: Oh, and a minor note: Perl_warner needs an additional argument that indicates the warning category, like:
or alternatively you could omit the check and use Perl_warn which takes no such argument.if ((PL_curcop->op_private & HINT_STRICT_STRINGIFY) && ckWARN(WARN_MISC)) Perl_warner(aTHX_ packWARN(WARN_MISC), "Stringification of reference disallowed");
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: How to prevent references from stringifying?
by tachyon (Chancellor) on Oct 04, 2004 at 12:49 UTC | |
by xmath (Hermit) on Oct 05, 2004 at 05:40 UTC |