I suppose the problem is that you're trying to read from __DATA__ more than once... Try storing the initial file pointer position using tell, and then seek to that position before your while (<DATA>) {...} loop. Alternatively, load the template code into a variable that you can then use repeatedly...
In reply to Re: Problem emulating use
by almut
in thread Problem emulating use
by Bloodnok
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |