On Mon, 2016-01-04 at 22:50 +0100, Samuel Thibault wrote: > Svante Signell, on Mon 04 Jan 2016 22:02:02 +0100, wrote: > > - @val = @{$canned_values{$hz}}; > > - if (!defined(@val)) { > > - @val = compute_values($hz); > > - } > > + @val = compute_values($hz); > > Don't we want to still try to use canned_values?
As I wrote in IRC you should solve this, not me. Obviously the !defined(@val) is no longer allowed, and I don't know how to rewrite that condition. The suggestion when it failed was: Can't use 'defined(@array)' (Maybe you should just omit the defined()?) at /.../timeconst.pl line 373.