On Wed, 2012-03-07 at 16:51 -0500, Keith Erekson wrote:

> Ah, well... you can always change that line to:
> 
> my $delta   = DateCalc('now', $next_time, undef, 'approx')
> 
> 
> ... I suppose.

Sadly no, as that isn't backwards compatible.  For now the hack to force
v5 behaviour, by adding:

{
  no warnings 'once';
  $Date::Manip::Backend = 'DM5';
}

At the start of the script is the best method.  :(

Cheers!

-- 
Andrew Ruthven, Wellington, New Zealand
At home: [email protected] |     linux.conf.au 2013 
                           |   Come join the party...
                           | http://lca2013.linux.org.au

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to