- Timestamp:
- 08/28/08 06:20:29 (4 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/TheSchwartz-Simple/trunk/lib/TheSchwartz/Simple/Job.pm
r18314 r18353 4 4 sub new_from_array { 5 5 my($class, $funcname, $arg) = @_; 6 bless {6 $class->new( 7 7 funcname => $funcname, 8 8 arg => $arg, 9 }, $class;9 ); 10 10 } 11 11 … … 13 13 my $class = shift; 14 14 my %param = ref $_[0] ? %{$_[0]} : @_; 15 bless \%param, $class; 15 my $self = bless \%param, $class; 16 17 $self->run_after( time ) unless defined $self->run_after; 18 $self->grabbed_until( 0) unless defined $self->grabbed_until; 19 20 $self; 16 21 } 17 22
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)