in reply to Can Perl Turn A String Into A Virtual File?

Anything after the __DATA__ token can be read with the <DATA> filehandle, like:
while(<DATA>){ # do something } __DATA__ Process here, line 1 Process here some more, line 2