[prev] [thread] [next] [lurker] [Date index for 2005/02/14]
Author: simon Date: 2005-02-14 10:39:11 +0000 (Mon, 14 Feb 2005) New Revision: 1874 Modified: trunk/buscador/lib/Buscador.pm Log: Move config parsing inside BEGIN which should be faster, I think. Modified: trunk/buscador/lib/Buscador.pm =================================================================== --- trunk/buscador/lib/Buscador.pm 2005-02-11 13:41:11 UTC (rev 1873) +++ trunk/buscador/lib/Buscador.pm 2005-02-14 10:39:11 UTC (rev 1874) @@ -9,13 +9,13 @@ #use Maypole::Cache; Buscador->config->{cache_options}{class} = "Cache::FileCache"; -use Buscador::Config; use Maypole::Constants; our $home; sub debug{0} BEGIN { require Email::Store; + use Buscador::Config; Email::Store->import(Buscador::Config->dsn, verbose => 1 );
Generated at 11:00 on 14 Feb 2005 by mariachi 0.52