Thanks Gabor!!! a word of caution, in case you stringify an object, better use: <code> use OVERLOAD '""' => \&to_string, fallback => 1; </code>
or you would have to declare all the symbols that the object can use (i.e: eq, ne, == etc) Happy sukot! Ronen On Mon, Oct 13, 2008 at 4:04 PM, Shmuel Fomberg <[EMAIL PROTECTED]> wrote: > Hi. > > Gabor Szabo wrote: >> What you are looking for is to overload the stringification method of >> your object. > > I can overload the stringification of an object? I didn't know. > Hmmm.. what evil things I can do with this new toy.... :-) > > Shmuel. > _______________________________________________ > Perl mailing list > [email protected] > http://perl.org.il/mailman/listinfo/perl > _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
