Re: manual bless

2002-12-12 Thread Ruth Albocher
Nigel Wetters wrote: > On Wed, 2002-12-11 at 13:55, Ruth Albocher wrote: > > I need to "cast" a scalar reference (SCALAR0x) into a reference to > > an object that I can use. (in other words, bless it). > > How can I do it? > > my $object = bless $scalar_reference, 'Your::Class'; > well, it's

Re: manual bless

2002-12-11 Thread Nigel Wetters
On Wed, 2002-12-11 at 13:55, Ruth Albocher wrote: > I need to "cast" a scalar reference (SCALAR0x) into a reference to > an object that I can use. (in other words, bless it). > How can I do it? my $object = bless $scalar_reference, 'Your::Class'; -- Nigel Wetters, Senior Programmer, Develop