Subject: | opposite of slurp - maybe? |
Hi, I love to use Path::Class. However, I very often use a 3-liner like this:
my $fh = $file->openw;
print $fh "something or a variable contents";
$fh->close;
I personally would like to see a method named eg. "fill()" (or an even fancier name) that does
exactly this. If a list were given, its parts could get joined separated by the
$OUTPUT_RECORD_SEPARATOR contents