summaryrefslogtreecommitdiffstats
path: root/MDK/Common/DataStructure.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-05-27 05:24:57 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-05-27 05:24:57 +0000
commit6628b3608b7c30da683c03d1c18d94706f991db5 (patch)
treedd264f20c26c7a3352eb11128b06fb368dbc1f9c /MDK/Common/DataStructure.pm
parent43750f2338ccfc28518234374c9a0e2af424eb61 (diff)
downloadperl-MDK-Common-6628b3608b7c30da683c03d1c18d94706f991db5.tar
perl-MDK-Common-6628b3608b7c30da683c03d1c18d94706f991db5.tar.gz
perl-MDK-Common-6628b3608b7c30da683c03d1c18d94706f991db5.tar.bz2
perl-MDK-Common-6628b3608b7c30da683c03d1c18d94706f991db5.tar.xz
perl-MDK-Common-6628b3608b7c30da683c03d1c18d94706f991db5.zip
use "our" instead of "use vars"
Diffstat (limited to 'MDK/Common/DataStructure.pm')
-rw-r--r--MDK/Common/DataStructure.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/MDK/Common/DataStructure.pm b/MDK/Common/DataStructure.pm
index 26c8b0f..79e4aa0 100644
--- a/MDK/Common/DataStructure.pm
+++ b/MDK/Common/DataStructure.pm
@@ -117,10 +117,10 @@ use MDK::Common::Math;
use MDK::Common::Func;
-use vars qw(@ISA %EXPORT_TAGS @EXPORT_OK);
-@ISA = qw(Exporter);
-@EXPORT_OK = qw(sort_numbers ikeys add2hash add2hash_ put_in_hash member invbool listlength deref deref_array is_empty_array_ref is_empty_hash_ref uniq uniq_ difference2 intersection next_val_in_array group_by2 list2kv);
-%EXPORT_TAGS = (all => [ @EXPORT_OK ]);
+use Exporter;
+our @ISA = qw(Exporter);
+our @EXPORT_OK = qw(sort_numbers ikeys add2hash add2hash_ put_in_hash member invbool listlength deref deref_array is_empty_array_ref is_empty_hash_ref uniq uniq_ difference2 intersection next_val_in_array group_by2 list2kv);
+our %EXPORT_TAGS = (all => [ @EXPORT_OK ]);
sub sort_numbers { sort { $a <=> $b } @_ }