Permalink
Browse files

rename pod

  • Loading branch information...
1 parent 1b80002 commit 9760cf8cfdb99ba5883ce7eaf02e6bc5a25ba383 @nekokak committed Feb 8, 2011
Showing with 20 additions and 0 deletions.
  1. +20 −0 lib/Jonk/Cookbook/LookupSpecificJob.pod
@@ -0,0 +1,20 @@
+=head1 NAME
+
+Jonk::Cookbook::LookupSpecificJob - lookup specific job.
+
+=head1 USAGE
+
+ #! perl
+ use strict;
+ use warnings;
+ use DBI;
+ use Jonk;
+
+ my $dbh = DBI->connect('dbi:mysql:test','user','pass');
+
+ my $jonk = Jonk->new($dbh, {functions => [qw/worker_key/]});
+ my $job_id = $jonk->insert('worker_key','job_data_here');
+
+ my $job = $jonk->lookup_job($job_id);
+
+=cut

0 comments on commit 9760cf8

Please sign in to comment.