Can you share the code? I believe the bless is returning the reference to self, which is captured in a variable with name self and that variable is returned from new method.
Does that explains it? Thanks Kiran. On 28 Feb 2016 9:00 am, "rakesh sharma" <rakeshsharm...@hotmail.com> wrote: > > > HI all > > > > I am using object oriented perl and saw return self as well as bless being > used > > According to docs bless returns the reference to self. Why should we use > both statements in the new method > > > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > >