r17579 - in /trunk/libconfig-inihash-perl: IniHash.pm META.yml debian/changelog

roberto at users.alioth.debian.org roberto at users.alioth.debian.org
Sun Mar 16 02:34:26 UTC 2008


Author: roberto
Date: Sun Mar 16 02:34:25 2008
New Revision: 17579

URL: http://svn.debian.org/wsvn/pkg-perl/?sc=1&rev=17579
Log:
* New upstream release.

Modified:
    trunk/libconfig-inihash-perl/IniHash.pm
    trunk/libconfig-inihash-perl/META.yml
    trunk/libconfig-inihash-perl/debian/changelog

Modified: trunk/libconfig-inihash-perl/IniHash.pm
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-inihash-perl/IniHash.pm?rev=17579&op=diff
==============================================================================
--- trunk/libconfig-inihash-perl/IniHash.pm (original)
+++ trunk/libconfig-inihash-perl/IniHash.pm Sun Mar 16 02:34:25 2008
@@ -1,16 +1,16 @@
 package Config::IniHash;
 
+use 5.8.0;
 use Carp;
 use strict;
 use Symbol;
-use IO::Scalar;
 
 use Exporter;
 use vars qw(@ISA @EXPORT @EXPORT_OK $VERSION);
 @ISA = qw(Exporter);
 @EXPORT = qw(&ReadINI &WriteINI &PrintINI);
 @EXPORT_OK = qw(&ReadINI &WriteINI &PrintINI &AddDefaults &ReadSection);
-$VERSION = '2.9.0';
+$VERSION = '3.00.00';
 
 if (0) { # for PerlApp/PerlSvc/PerlCtrl/Perl2Exe
 	require 'Hash/WithDefaults.pm';
@@ -150,12 +150,10 @@
 	if (ref $file) {
 		my $ref = ref $file;
 		if ($ref eq 'SCALAR') {
-			$IN = gensym();
-			tie *$IN, 'IO::Scalar', $file;
+			open $IN, '<', $file; # will read from the referenced scalar
 		} elsif ($ref eq 'ARRAY') {
 			my $data = join "\n", map {chomp;$_} @$file;
-			$IN = gensym();
-			tie *$IN, 'IO::Scalar', \$data;
+			open $IN, '<', \$data; # will read from the referenced scalar
 		} elsif ($ref eq 'HASH') {
 			croak "ReadINI cannot accept a HASH reference as it's parameter!";
 		} else {
@@ -327,8 +325,8 @@
 		tie %$hash, $opt{class}
 			if $opt{class};
 	}
-	my $IN = gensym();
-	tie *$IN, 'IO::Scalar', \$text;
+
+	open my $IN, '<', \$text;
 
 	my ($lc,$uc) = ( $opt{forName} eq 'lc', $opt{forName} eq 'uc');
 	my $forValue = $opt{forValue};
@@ -368,7 +366,7 @@
 
 Config::IniHash - Perl extension for reading and writing INI files
 
-version 2.9.0
+version 3.00.00
 
 =head1 SYNOPSIS
 

Modified: trunk/libconfig-inihash-perl/META.yml
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-inihash-perl/META.yml?rev=17579&op=diff
==============================================================================
--- trunk/libconfig-inihash-perl/META.yml (original)
+++ trunk/libconfig-inihash-perl/META.yml Sun Mar 16 02:34:25 2008
@@ -1,7 +1,7 @@
 # http://module-build.sourceforge.net/META-spec.html
 #XXXXXXX This is a prototype!!!  It will change in the future!!! XXXXX#
 name:         Config-IniHash
-version:      2.9.0
+version:      3.00.00
 version_from: IniHash.pm
 installdirs:  site
 requires:

Modified: trunk/libconfig-inihash-perl/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-perl/trunk/libconfig-inihash-perl/debian/changelog?rev=17579&op=diff
==============================================================================
--- trunk/libconfig-inihash-perl/debian/changelog (original)
+++ trunk/libconfig-inihash-perl/debian/changelog Sun Mar 16 02:34:25 2008
@@ -1,9 +1,13 @@
-libconfig-inihash-perl (2.9.0-2) UNRELEASED; urgency=low
+libconfig-inihash-perl (3.00.00-1) unstable; urgency=low
 
+  [ Roberto C. Sanchez ]
+  * New upstream release.
+
+  [ gregor herrmann ]
   * debian/control: Added: Vcs-Svn field (source stanza); Vcs-Browser
     field (source stanza). Removed: XS-Vcs-Svn fields.
 
- -- gregor herrmann <gregor+debian at comodo.priv.at>  Tue, 09 Oct 2007 22:28:18 +0200
+ -- Roberto C. Sanchez <roberto at debian.org>  Sat, 15 Mar 2008 22:33:43 -0400
 
 libconfig-inihash-perl (2.9.0-1) unstable; urgency=low
 




More information about the Pkg-perl-cvs-commits mailing list