annotate Lib/IMPL.pm @ 177:df71a307ef9b

new constructor syntax
author sourcer
date Wed, 12 Oct 2011 00:04:13 +0300
parents 6ce1f052b90a
children d1676be8afcc
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
147
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
1 package IMPL;
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
2 use strict;
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
3
163
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
4 use IMPL::_core qw(setDebug);
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
5 use IMPL::_core::version;
147
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
6
163
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
7 sub import {
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
8 my ($opts) = @_;
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
9
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
10 if (ref $opts eq 'HASH') {
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
11 setDebug($$opts{Debug}) if exists $$opts{Debug};
6ce1f052b90a temp commit
wizard
parents: 147
diff changeset
12 }
147
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
13 }
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
14
c2aa10fbb396 Post to dom improved
wizard
parents:
diff changeset
15 1;