Skip Menu |

This queue is for tickets about the Config-General CPAN distribution.

Report information
The Basics
Id: 1351
Status: resolved
Priority: 0/
Queue: Config-General

People
Owner: Nobody in particular
Requestors: yan [...] seiner.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 2.06
Fixed in: (no value)



Subject: save() method is deprecated
I am running perl v5.6.1 built for i386-linux - RedHat 7.3. When trying to use SaveConfig, I get The save() method is deprecated. Use the new save_file() method instead! at ./bill.new line 12 and no file is saved. My entire test program follows: #!/usr/bin/perl use Config::General; use Data::Dumper; use warnings; use strict; my %config = ParseConfig("bill.conf"); print Dumper(\%config); SaveConfig("rcfile", \%config); --Yan
From: tlinden
2.07 fixes this bug. [guest - Mon Jul 29 05:44:11 2002]: Show quoted text
> I am running perl v5.6.1 built for i386-linux - RedHat 7.3. When > trying to use SaveConfig, I get > > The save() method is deprecated. Use the new save_file() method > instead! at ./bill.new line 12 > > and no file is saved. My entire test program follows: > > #!/usr/bin/perl > > use Config::General; > use Data::Dumper; > use warnings; > use strict; > > my %config = ParseConfig("bill.conf"); > > print Dumper(\%config); > > SaveConfig("rcfile", \%config); > > --Yan
fixed in 2.07