On Nov 9, Dan Anderson said: >I had a function that blessed a Hash into it's class. Oddly, I started >having problems. On dumping the hash I found it had been blessed into a >part of the hash. > >bless {foo => "bar"}, "class"; >became >bless {foo => "bar"}, "bar"; >when the modules constructor was called by another module.
I have a feeling you've done Module::new(args...) instead of Module->new(args...) The first way is erroneous. The second way is correct. -- Jeff "japhy" Pinyan [EMAIL PROTECTED] http://www.pobox.com/~japhy/ RPI Acacia brother #734 http://www.perlmonks.org/ http://www.cpan.org/ <stu> what does y/// stand for? <tenderpuss> why, yansliterate of course. [ I'm looking for programming work. If you like my work, let me know. ] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]