in reply to Re: Perl OO best practice?
in thread Perl OO best practice?
yes ikegami, you are right, open/close braces are safer/better for inline packages. I should have qualified my example better: in my production code, the packages are in separate files.
I squished them into one file for the sake of the example, in case someone wanted to run the code.
:-)
sjs
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Perl OO best practice?
by ikegami (Patriarch) on Feb 09, 2010 at 21:18 UTC |