in reply to (tye)Re: Object properties and Methods
in thread Object properties and Methods

Thanks. Can I put "x keys %$object" into a hash. I am creating an object that has properties populated from a database, file or other source. My initial thought was that if I could return a list of properties, I could cycle through it and obtain the data values for each. Listing the methods would be for troubleshooting.
  • Comment on Re: (tye)Re: Object properties and Methods

Replies are listed 'Best First'.
Re: Re: (tye)Re: Object properties and Methods
by busunsl (Vicar) on Mar 23, 2001 at 20:00 UTC
    Perhaps you should have a look at Data::Dumper, to see how to get all the properties.