![]() |
|
Perl: the Markov chain saw | |
PerlMonks |
Re^5: How to use __DATA__ efficiently, help!by Anonyrnous Monk (Hermit) |
on Feb 10, 2011 at 17:32 UTC ( [id://887504]=note: print w/replies, xml ) | Need Help?? |
but you're wrong in saying that __DATA__ can't be accessed twice This is not what I said. I said that you can only have one __DATA__ section (per package/file), not that you can only read it once. The OP asked "how to use multiple sets of __DATA__", which I understood to mean something like this (also see the OP's sample code)
which obviously acts as only one DATA section:
In Section
Seekers of Perl Wisdom
|
|