Thanks, Joe#!/usr/bin/perl print P->new(); package P; use Carp; use overload q("") => \&asString; sub new { bless( {}, shift) } sub asString { confess }
In reply to Problem w/overloading and Carp::confess by slagel
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |