Tou might also want to use Inline::File if you want to use DATA as a file.
In reply to Re: reading __DATA__ more than once by mirod in thread reading __DATA__ more than once by ff