in reply to Reading a variable as a file

Plese, let me know when you find the better solution. This subject interest to me as well.

Replies are listed 'Best First'.
Re^2: Reading a variable as a file
by FunkyMonk (Bishop) on Nov 23, 2007 at 23:20 UTC
    ikegami's post gives you the best solution you're going to get.
    open my $STR, "<", \$scalar;

    is the way to go