When we print out an object, our beloved perl outputs something like that:
Class::HASH{0x73E448} .
Which is very usefull for machines, but not really for humans. Is there a way of overriding some kind of as_string method ? I looked in the UNIVERSAL module, but didn't find any :(
Thx for help !!
-- Nice photos of naked perl sources here !
In reply to Overriding as_string ? by jeteve
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |