in reply to class::struct compatibility

What do you mean by "reports"? What exactly are you trying to do with Class::Struct? Can you show a snippet of code that demonstrates the problem?

Replies are listed 'Best First'.
Re: Re: class::struct compatibility
by el-moe (Scribe) on Mar 12, 2002 at 20:54 UTC
    Ok using Data::Dumper to determine how the data looks I get Tool::size on Sol and size on HP... Like this

    If I access the data like so $t->{size} it works fine on HP and on Sol I have to do this to get the same result $t->Tool::size notice there are not braces on the Sol version. That is another quandry.

    Is that helpful? I have read everything I could find re:Class::Struct which isn't much incidentaly.

    And really this is my lack of real OOP knowledge that caused me to use this approach. I don't have a month to learn OOP just to repair this issue. When I first did this we only had HP so there was NO issue.

      Sorry, I still can't tell what you're talking about. What are you passing to Data::Dumper? What is this $t you're talking about? Some sample code would help.