Skip to content

Commit

Permalink
Make Time::HiRes optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Max Maischein committed Jun 8, 2011
1 parent 1b72df4 commit c4e2a12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bin/ffeedflotr.pl
Expand Up @@ -238,7 +238,8 @@ =head1 OPTIONS
$app->plot(@data);

if ($stream) {
sleep $sleep_interval;
require Time::HiRes;
Time::HiRes::sleep($sleep_interval);
redo DO_PLOT
unless $done;
};
Expand Down
1 change: 0 additions & 1 deletion lib/App/Ffeedflotr.pm
Expand Up @@ -3,7 +3,6 @@ use strict;
use vars qw($VERSION);
use WWW::Mechanize::Firefox;
use Time::Local;
use Time::HiRes qw(sleep);
use File::Temp qw(tempfile);
use List::Util qw(min);

Expand Down

0 comments on commit c4e2a12

Please sign in to comment.