in reply to Filter::Simple and __DATA__
... my $startPos = tell(DATA); ... # Filter processing here ... # And later seek(DATA, $startPos, 0); ... [download]
I hope this is of use.
Cheers,
JohnGG