in reply to string pointers in perl?

IO::Scalar/IO::String
use 5.008; open my $fh, '<', \$mystr;