Changeset 146

Show
Ignore:
Timestamp:
08/27/08 08:39:55 (3 months ago)
Author:
miyagawa
Message:

doc fix: args need to be a referecne

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/lib/TheSchwartz/Job.pm

    r144 r146  
    310310    my $client = TheSchwartz->new( databases => $DATABASE_INFO ); 
    311311 
    312     my $job = TheSchwartz::Job->new_from_array('MyWorker', foo => 'bar'); 
     312    my $job = TheSchwartz::Job->new_from_array('MyWorker', [ foo => 'bar' ]); 
    313313    $client->insert($job); 
    314314