DATA is special in that it remains open if your script has an __END__ token or your module has a __DATA__ token. It isn't so special that you can't use it like a regular file handle if you want to.
The above code should work unaltered (as others have already reported).
- tye (but my friends call me "Tye")In reply to (tye)Re: string parsing
by tye
in thread string parsing
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |