in reply to Optimization of a piece of code(Is there a better way than this?)
differ? The second looks odd. I would expect it to read $self->_set_Max_Questions($Total_Questions); unless you're depending later on have $Max_Questions defined. Seeing it written as is, I'm left with the suspicion that there's some odd stuff going on elsewhere.$Max_Questions = $Total_Questions; &_set_Max_Questions($self,$Max_Questions);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Optimization of a piece of code(Is there a better way than this?)
by TStanley (Canon) on Jul 03, 2002 at 19:45 UTC |