in reply to Re: Reading a variable as a file
in thread Reading a variable as a file
Unless I misunderstand the question, Tie::File is the wrong thing here. It makes a file look like an array. But I think what OP wants is to make a scalar look like a file.
In Section
Seekers of Perl Wisdom