Changeset c6adf17 for perl/lib/BarnOwl/Timer.pm
- Timestamp:
- Oct 1, 2010, 9:22:20 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- afaef6e
- Parents:
- 385cce2
- git-author:
- David Benjamin <davidben@mit.edu> (09/25/10 02:02:45)
- git-committer:
- David Benjamin <davidben@mit.edu> (10/01/10 21:22:20)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
perl/lib/BarnOwl/Timer.pm
r8d16e58 rc6adf17 13 13 my $self = {cb => $cb}; 14 14 15 my $name = $args->{name}; 16 $name = "(unnamed)" unless defined $name; 17 15 18 bless($self, $class); 16 19 17 20 $self->{timer} = BarnOwl::Internal::add_timer($args->{after} || 0, 18 21 $args->{interval} || 0, 19 $self); 22 $self, 23 $name); 20 24 return $self; 21 25 }
Note: See TracChangeset
for help on using the changeset viewer.