Changeset 2052

Show
Ignore:
Timestamp:
11/17/08 07:21:24
Author:
miyagawa
Message:

Added no dclone option for Remedie

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/plagger/lib/Plagger/ConfigLoader.pm

    r2048 r2052  
    2020        $config = YAML::Load(${$stuff}); 
    2121    } elsif (ref($stuff) && ref($stuff) eq 'HASH') { 
    22         $config = Storable::dclone($stuff); 
     22        $config = $stuff->{global}->{no_config_clone} 
     23            ? $stuff : Storable::dclone($stuff); 
    2324    } else { 
    2425        croak "Plagger::ConfigLoader->load: $stuff: $!";