Hi!
Feature request?
Wouldn't it be nice to have something similar to touch() and write() that
does *not* append anything to the content? Currently I do sth. like this
my $FH = $tmp->touch($filename)->open("w");
print $FH $plain_content;
close $FH;
But it should be as easy as
$tmp->pure_touch($filename, $plain_content);
Alternative fiddling with local $, or $/ doesn't look nice either.
Thanks.
Steffen
--
Steffen Schwigon <ss5@renormalist.net>
Dresden Perl Mongers <http://dresden-pm.org/>