http://www.perlmonks.org?node_id=23409


in reply to re-opening DATA, printing any character

If the data is short you could always read it into an array:
my @x = <DATA>;
Then you could do what you like with it. I wouldn't do this if you had a big chunk of data but I might be a nice quick solution.


Coffee, KitKat, and a new script to write. It's gonna be a good day....