view Lib/IMPL.pm @ 251:9f394b27dccf

require can handle recursive module references
author sergey
date Fri, 16 Nov 2012 16:44:16 +0400
parents 4d0e1962161c
children
line wrap: on
line source

package IMPL;
use strict;

use IMPL::_core qw(setDebug);
use IMPL::_core::version;

sub import {
    my ($opts) = @_;
    
    if (ref $opts eq 'HASH') {
        setDebug($$opts{Debug}) if exists $$opts{Debug};
    }
}

1;