[livejournal] r17121: LJSUP-5987: Redirection to mobile versio...
Committer: mchernyshev
LJSUP-5987: Redirection to mobile version- bugfix: remove Set::Object; use 'nstore' insteed of 'store'.
U trunk/bin/upgrading/wurfl/bin/wurfl_update.pl
Modified: trunk/bin/upgrading/wurfl/bin/wurfl_update.pl
===================================================================
--- trunk/bin/upgrading/wurfl/bin/wurfl_update.pl 2010-08-13 04:18:40 UTC (rev 17120)
+++ trunk/bin/upgrading/wurfl/bin/wurfl_update.pl 2010-08-13 07:06:39 UTC (rev 17121)
@@ -20,10 +20,9 @@
use File::Spec::Functions 'catfile';
use FindBin;
-use Set::Object ();
use XML::Simple 'XMLin';
-use Storable 'store';
+use Storable 'nstore';
BEGIN {
$XML::Simple::PREFERRED_PARSER = 'XML::Parser';
@@ -61,5 +60,5 @@
delete $user_agents{'Mozilla'};
-store(\%user_agents, catfile($data_dir, 'devices_useragents.stor'));
+nstore(\%user_agents, catfile($data_dir, 'devices_useragents.stor'));
