Subject: | IO::All::String |
when you create an IO::All object of type '$', it opens a new IO::String object with each subsequent write
here's an example
use IO::All;
use Data::Dumper;
my $s = io('$');
$s->append("write 1\n");
print "IO::String ref: (".$s->string_ref.")" . Dumper $s->string_ref;
$s->append("write 2\n");
print "IO::String ref: (".$s->string_ref.")" . Dumper $s->string_ref;
There needs to be a $self->is_open(1) call added to the first line of IO::All::String::open