Re: Help (Object oriented perl)

2005-12-12 Thread Walter Lewis
Brian Cassidy wrote: The line you're quoting is from CQL::ModifierSet, but the object you're accessing is CQL::Relation -- in that module, getModifiers you can see that it: "Returns a list of modifiers associated with a CQL relation." So, by using Data::Dumper, I can print them in detail: use

RE: Help (Object oriented perl)

2005-12-12 Thread Brian Cassidy
Walter, > -Original Message- > my $relation = $root->getRelation(); > my @RelationModifiers = $relation->getModifiers(); > my $RelationModifiers = @RelationModifiers ; > > All of which executes just fine, returning reasonable values: > $relation: CQL::Relation=HASH(0x1b781b0) > $RelationM

Help (Object oriented perl)

2005-12-10 Thread Walter Lewis
As a perl hacker of fairly modest skills, I've tripped over the object oriented nature of the CQL::Parser a couple of times. Perhaps someone could bail me out of this loop (not code loop,just brain) my $query = 'subject any/relevant "cats dogs"'; my $root = $parser->parse( $query ); my $relat