in reply to RFC: new.pm - a perl -e use/new shortener
Classes are free to choose any method as constructor and are even free to have multiple of them.
Though I'm not aware of an example right now.
Update: this case is a negligence, no code needed, just mention in doc.
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: RFC: new.pm - a perl -e use/new shortener (constructor)
by Dallaylaen (Chaplain) on Dec 24, 2016 at 14:20 UTC | |
by LanX (Saint) on Dec 24, 2016 at 14:32 UTC |