Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Good practice for OO module defaultsby QM (Parson) |
on Apr 10, 2019 at 10:13 UTC ( [id://1232397]=note: print w/replies, xml ) | Need Help?? |
Option 2: Memoise __DATA__
Can you have the package read __DATA__ and fill a
I'm sure you could make this more flexible, reading from __DATA__ unless passed some other file or file handle. -QM 2019-04-11 Athanasius fixed opening code tags
In Section
Seekers of Perl Wisdom
|
|