view Lib/IMPL.pm @ 284:f2a6bc5f3184

+IMPL::Object::InlineFactory: implement object factory as subroutine
author sergey
date Thu, 14 Feb 2013 19:14:02 +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;