in reply to Problem emulating use
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...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Problem emulating use
by Bloodnok (Vicar) on Jul 11, 2008 at 12:21 UTC |