in reply to Re^2: write from filehandle to variable
in thread write from filehandle to variable
If I understood your original question correctly, you wanted a file handle which wrote to a variable instead of to a file.
$fh is the file handle.
$var is the variable in which the text ends up.
'moo!' is the text being written to $var.
|
|---|