in reply to Saving to __DATA__
As a CPAN advocate, I'll tell you to use Inline::Files and not to reinvent the wheel;
Oh, and on a side note, If I compile (is that the correct verb for this situation) this into an executable, will the saving to __DATA__ still function correctly?
Supposing you are talking about using something like PAR, no. You would have to re-pack all your modules again after writing, and this would be kind of complicated.
|
|---|