Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Reading a variable as a file

by fernandes (Monk)
on Nov 23, 2007 at 21:56 UTC ( [id://652668]=note: print w/replies, xml ) Need Help??


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 (Chancellor) 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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://652668]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (3)
As of 2024-04-16 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found