Changeset 75 in bookmarks for trunk/lib/Bookmark.pm
- Timestamp:
- 04/11/14 11:03:53 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/Bookmark.pm
r70 r75 17 17 has bookmark_uri => ( is => 'rw' ); 18 18 has exists => ( is => 'ro' ); 19 has collection => ( is => 'ro' ); 19 20 20 21 sub created { scalar localtime $_[0]->ctime } … … 44 45 } 45 46 47 sub update { 48 my $self = shift; 49 die "Not part of a collection; nowhere to write this bookmark" unless $self->collection; 50 return $self->collection->update($self); 51 } 52 46 53 # module return 47 54 1;
Note: See TracChangeset
for help on using the changeset viewer.