To find out how to bless an object, read up on perlfunc:bless or Perl's object documentation in general.
However, in this case you shouldn't need to bless the object. Blessing should be done within the code that creates the object (in this case, $Conn->Execute where $RS is returned), not the code that uses the object.
I notice that you never check to see if any of your calls fail. For example, what happens if your $Server->CreateObject call fails?
Given the error message you're seeing, I suspect the my $RS = $Conn->Execute( "$SQLstring" ) is failing. Try something like my $rs = $Conn->Execute($SQLstring) or die instead. You'll probably want to replace the die call with something more appropriate for your application.
In reply to Re: How do I go about Blessing an Object?
by tomhukins
in thread How do I go about Blessing an Object?
by Buckaroo Buddha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |