2009/4/16 Jim Gibson <jimsgib...@gmail.com>: snip > This calls the new method in package vpu and assigns the return value, which > should be a blessed scalar of some type, usually a reference to a hash, but > it could be any scalar. snip > $vpu must be a blessed scalar in order to call methods on it. Packages > netElement::vpu and vpu are not the same. > > It is also possible that the new() method has not returned a valid object > (blessed scalar) for some reason. You should look at the source code for the > new() method and see why that might be. snip
Nit picking: you can only bless references, not all scalars. -- Chas. Owens wonkden.net The most important skill a programmer can have is the ability to read. -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/