in reply to Re^2: Factoring out common code in two methods of a class
in thread Factoring out common code in two methods of a class
I guess I'll have to leave off the last two parts which in this application are optional, and add them to PACK_TEMPLATE programatically after the length field ... hmm, that's OK.No, create a function with the 2 optional parts as input and the string $pack_template as output.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Factoring out common code in two methods of a class
by BrowserUk (Patriarch) on Aug 05, 2009 at 20:59 UTC |