From: Tyler J. W. <ty...@to...> - 2013-04-18 14:19:16
|
On 2013-04-18 14:14, bac...@ko... wrote: > OK... I googled the error message "Type of arg 1 to keys must be hash > (not hash element)" and quickly found out that basically the ability > to pass a reference to 'keys' (or similarly 'each') was introduced in > 5.14.0. > > The solution is to pass instead: > %{$InodeCache{"cpool"}} > > It now works on 5.10.0 -- please test on your version too... > > I am attaching the latest patched version... The patched versions of BackupPC_copyPcPool.pl and jLib.pm work on both Ubuntu lucid (perl 5.10.1) and Ubuntu precise (perl 5.14.2). Thanks, Jeffrey. Regards, Tyler -- "What can be asserted without evidence can also be dismissed without evidence." -- Christopher Hitchens |