Skip Menu |
 

This queue is for tickets about the Directory-Scratch CPAN distribution.

Report information
The Basics
Id: 88440
Status: new
Priority: 0/
Queue: Directory-Scratch

People
Owner: Nobody in particular
Requestors: schwigon [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.14
Fixed in: (no value)



Download (untitled) / with headers
text/plain 513b
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/>
Forgot subject.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.