Changeset 34
- Timestamp:
- 02/16/07 22:39:25 (2 years ago)
- Files:
-
- trunk/Memories/Photo.pm (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Memories/Photo.pm
r33 r34 69 69 rated => 0, 70 70 }); 71 copy($filename, $photo->path("file")); 71 if (!copy($filename, $photo->path("file"))) { 72 $photo->delete(); die "Couldn't copy photo: $!"; 73 } 72 74 my ($x, $y) = dim(image_info($photo->path)); 73 75 $photo->x($x); $photo->y($y);
