summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-07-10 01:43:10 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:19:29 -0500
commit1e5b309b4fc15dcc48007d856a954a2bea08b380 (patch)
tree85740823b0ff186ea93d25ddf1c9109978d0e71f /source4
parent514ce32a894585b66d7dc276d10fe6f4b525e02b (diff)
downloadsamba-1e5b309b4fc15dcc48007d856a954a2bea08b380.tar.gz
samba-1e5b309b4fc15dcc48007d856a954a2bea08b380.tar.bz2
samba-1e5b309b4fc15dcc48007d856a954a2bea08b380.zip
r8275: possibly a more portable way to export symbols in perl?
(This used to be commit d5153d16e1630e85c05a19b2d279bb1100497be5)
Diffstat (limited to 'source4')
-rw-r--r--source4/build/pidl/Parse/Pidl/NDR.pm5
-rw-r--r--source4/build/pidl/Parse/Pidl/Typelist.pm5
-rw-r--r--source4/build/pidl/Parse/Pidl/Util.pm5
3 files changed, 9 insertions, 6 deletions
diff --git a/source4/build/pidl/Parse/Pidl/NDR.pm b/source4/build/pidl/Parse/Pidl/NDR.pm
index 1ab17e014b..e039934b1b 100644
--- a/source4/build/pidl/Parse/Pidl/NDR.pm
+++ b/source4/build/pidl/Parse/Pidl/NDR.pm
@@ -7,8 +7,9 @@
package Parse::Pidl::NDR;
-use Exporter 'import';
-@EXPORT_OK = qw(GetPrevLevel GetNextLevel);
+require Exporter;
+@ISA = qw(Exporter);
+@EXPORT = qw(GetPrevLevel GetNextLevel);
use strict;
use Parse::Pidl::Typelist qw(hasType getType);
diff --git a/source4/build/pidl/Parse/Pidl/Typelist.pm b/source4/build/pidl/Parse/Pidl/Typelist.pm
index f107dfdd82..60b6e7905b 100644
--- a/source4/build/pidl/Parse/Pidl/Typelist.pm
+++ b/source4/build/pidl/Parse/Pidl/Typelist.pm
@@ -5,8 +5,9 @@
package Parse::Pidl::Typelist;
-use Exporter 'import';
-@EXPORT_OK = qw(hasType getType);
+require Exporter;
+@ISA = qw(Exporter);
+@EXPORT = qw(hasType getType);
use Parse::Pidl::Util qw(has_property);
use strict;
diff --git a/source4/build/pidl/Parse/Pidl/Util.pm b/source4/build/pidl/Parse/Pidl/Util.pm
index 5e9544d40b..e4f25511e6 100644
--- a/source4/build/pidl/Parse/Pidl/Util.pm
+++ b/source4/build/pidl/Parse/Pidl/Util.pm
@@ -4,8 +4,9 @@
# released under the GNU GPL
package Parse::Pidl::Util;
-use Exporter 'import';
-@EXPORT_OK = qw(has_property property_matches ParseExpr);
+require Exporter;
+@ISA = qw(Exporter);
+@EXPORT = qw(has_property property_matches ParseExpr);
use strict;