develooper Front page | perl.recdescent | Postings from August 2004

RE: :RD and OOP

Thread Next
From:
Alexander.Farber
Date:
August 3, 2004 09:00
Subject:
RE: :RD and OOP
Message ID:
FF5965B28E306049BAE4B32AA38359B435086F@boebe003.europe.nokia.com
Just to rephrase my question.

From my grammar I can save the parsed out data into global variables,
like $::subdirs or $MyModule::subdirs. That works fine.

But how can I do it in OO-way, i.e. save data to $obj1->{subdirs} and then 
parse another input text by the same parser and save it to $obj2->{subdirs}  ?

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About