in reply to Re: Design question: storing package 'flags'.
in thread Design question: storing package 'flags'.
As a simple example of a simple OO usage w/'use'
Will have to think of more situation as I'm getting tired right now...use Data::Vars [qw(one two three answer)], {one=>1, two=>2, three=>3}; my $p=Data::Vars=>new(); $p->answer=$p->one+$p->two*$p->three; P "answer=%s", $p->answer; answer=7
|
|---|