slartyblartfast (slartyblartfast) wrote in changelog,
slartyblartfast
slartyblartfast
changelog

[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'));
 

Tags: livejournal, pl, slartyblartfast
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments