Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Robert Nicholson
December 23, 2007, 2:34 pm
rate this thread
my $self = shift;
my $filename = $self->filename;
open my $fh, ">:raw", $filename or croak "$filename: $!";
print $fh Dump(damn_scalar($self));
That means that if it's interrupted during save you've lost your
Instead of doing that it should be writing to a temporary file first
and then renaming
- » How to tie with YAML but also have flock support?
- — Previous thread in » PERL Modules Announcements