Getting a Boolean Value from a Frontier::RPC2 xml call

Using Perl code for a client to an xml-rpc client
- I am using Frontier::RPC2 to help with this client

The server returns a boolean value called "Successful" which is supposed to return true/false.

When I print out the value it looks like: Successful => Frontier::RPC2::Boolean=SCALAR

If I try to use ->value() to get the value of that boolean to see if the call succeeded or not, perl complains that "can't call method "value" on an undefined value".

I have searched hi and low on the internet and cannot find a solution to this problem.
torrid333Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Adam314Commented:
That is telling you that it is a blessed reference to a scalar.  The documentation states you can use the ->value() method, like you tried.  Maybe the case is wrong in the documentation... have you tried ->Value()?

Or you could just get the value like:
if $bool is the boolean value: ${$bool}
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
torrid333Author Commented:
have not been able to try Adam's solution to see if it works... have to wait until I get the error again to then try it out...
0
torrid333Author Commented:
Don't know if it works but will award points anyway since no one else responded.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Perl

From novice to tech pro — start learning today.