Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Data files included in a packageby wufnik (Friar) |
on Aug 28, 2003 at 19:35 UTC ( [id://287501]=note: print w/replies, xml ) | Need Help?? |
hola; i have always found __DATA__ to be useful for including data within scripts/modules; simple scenario: you want to use 'test' data if a file is not specified. hope that helps, ...wufnik
In Section
Seekers of Perl Wisdom
|
|