[gimp-perl] Use "our" not "use vars".
- From: Ed J <edj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp-perl] Use "our" not "use vars".
- Date: Thu, 15 May 2014 00:11:35 +0000 (UTC)
commit a859be6baa484a7b10391d6efd50baf5e8e78bdf
Author: Ed J <edj src gnome org>
Date: Thu May 15 01:11:10 2014 +0100
Use "our" not "use vars".
Gimp.pm | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/Gimp.pm b/Gimp.pm
index ae9f51f..148129e 100644
--- a/Gimp.pm
+++ b/Gimp.pm
@@ -1,11 +1,11 @@
package Gimp;
use strict 'vars';
-use vars qw($VERSION @ISA @EXPORT @EXPORT_OK $AUTOLOAD %EXPORT_TAGS @EXPORT_FAIL
- $interface_pkg $interface_type
- @PREFIXES
- $function $basename $spawn_opts
- $host);
+our (
+ $VERSION, @ISA, $AUTOLOAD, @EXPORT, @EXPORT_OK, %EXPORT_TAGS, @EXPORT_FAIL,
+ $interface_pkg, $interface_type, @PREFIXES,
+ $function, $basename, $spawn_opts, $host,
+);
use subs qw(init end lock unlock);
BEGIN {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]