in reply to Re^2: oo design q: SUPER::_init
in thread oo design q: SUPER::_init
Shoot. You're right. I misunderstood your example.
And yours has the advantage of making it harder for the user to screw up the assignment by passing the arguments out of order (that is to say, there is no order if they're passed as named arguments).
Using perl 5.8.1-RC3 unless otherwise noted. Apache/1.3.33 (Darwin) unless otherwise noted. Mac OS X 10.3.9 unless otherwise noted.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: oo design q: SUPER::_init
by alienhuman (Pilgrim) on Feb 21, 2006 at 17:09 UTC |