|
|
| No such thing as a small change | |
| PerlMonks |
Re^2: how organize code in callback modeby xiaoyafeng (Hermit) |
| on Nov 29, 2011 at 12:38 UTC ( #940598=note: print w/ replies, xml ) | Need Help?? |
|
Thanks for your reply. this version of code looks better, but now, I suspect i am on the right way. In order to avoid exposing variables in global, I have to pass 5 paras to cell_work function. and as a module, $callback_data does confuse end user. to my primitive intention, I just want to separate code into subs and modules for managing. But it now seems to raise complexity of code. do I have to come back to below tedious code?
I am trying to improve my English skills, if you see a mistake please feel free to reply or /msg me a correction
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||