Changeset 908


Ignore:
Timestamp:
Dec 10, 2006, 11:30:58 PM (15 years ago)
Author:
Earle Martin
Message:

Fix hashref bug introduced by last commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/OpenGuides/Config.pm

    r907 r908  
    105105        my $read_config = Config::Tiny->read( $args{file} ) or
    106106            croak "Cannot read config file '$args{file}': " . $Config::Tiny::errstr;
    107         %stored = $read_config->{_};
     107        %stored = %{$read_config->{_}};
    108108    } elsif ( $args{vars} ) {
    109109        %stored = %{ $args{vars} };
     
    120120            $self->$var( $stored{$var} );
    121121        } else {
     122                use Data::Dumper; die Dumper \%stored;
    122123            warn "Don't know what to do with variable '$var'";
    123124        }
Note: See TracChangeset for help on using the changeset viewer.