Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re^2: getting more from __DATA__

by Ctrl-z (Friar)
on Mar 25, 2005 at 00:25 UTC ( #442232=note: print w/replies, xml ) Need Help??

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

yup, thats pretty like it.

With no disrespect to unwitting pawns or evil masterminds, I was going for more user-friendly than "It is possible that this module may overwrite the source code in files that use it". ;-)

Providing full-on writable handles is neat, but a little heavy - at least for my needs.

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

Replies are listed 'Best First'.
Re^3: getting more from __DATA__
by belg4mit (Prior) on Mar 25, 2005 at 13:05 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...

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://442232]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (9)
As of 2020-06-01 17:00 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (5 votes). Check out past polls.