[Newbies] Re: Overriding methods

Randal L. Schwartz merlyn at stonehenge.com
Sun Jan 20 17:29:34 UTC 2008


>>>>> "Zulq" == Zulq Alam <me at zulq.net> writes:

Zulq> In VW, where initialize isn't called by default, I do this all the time:
Zulq> new
Zulq> 	^ self new initialize

You mean "basicNew", unless you like infinite loops. :)

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<merlyn at stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!


More information about the Beginners mailing list