Subject: | [Feature request] anti-slurp - write string to file with single method call |
Hello,
First of all, thanks for this great module! Save me a lot of time and
printed lines )
Would like to propose to implement the "anti-slurp" method:
I found myself repeating this code in my simple build scripts:
my $fh = $blib_dir->file("somefile.txt")->openw;
print $fh $embedder->mhtml_as_string;
$fh->close;
think would be very convenient to just write:
my $fh = $blib_dir->file("somefile.txt")->save($embedder->mhtml_as_string)
Thanks again, Nickolay