in reply to Re^2: getting more from __DATA__
in thread getting more from __DATA__

Then only open for read?

--
I'm not belgian but I play one on TV. On dit que je parle comme un belge aussi.

Replies are listed 'Best First'.
Re^4: getting more from __DATA__
by Ctrl-z (Friar) on Mar 25, 2005 at 15:47 UTC

    Sure. And what about the backing-up, source-filtering, redirecting of CORE functions and 600 lines of fairly convoluted code?

    My initial idea was to simply keep large strings out of the source code - tied handles could still be implemented easily:

    use Tie::DATA(':foo', sub{ return($_[0], IO::String->new($_[1])); });




    time was, I could move my arms like a bird and...