Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: Subverting overload

by crouchingpenguin (Priest)
on Nov 30, 2004 at 01:17 UTC ( #411079=note: print w/replies, xml ) Need Help??


in reply to Subverting overload

In addition to BrowserUk's suggestion, you can use use overload "\"\"" => "my_print_method"; just as easily.

cp
----
"Never be afraid to try something new. Remember, amateurs built the ark. Professionals built the Titanic."