Skip Menu |

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

Report information
The Basics
Id: 40585
Status: resolved
Priority: 0/
Queue: Config-Tiny

People
Owner: Nobody in particular
Requestors: grandpa [...] cpan.org
Cc:
AdminCc:

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



Subject: member 'set;' doesn't exist
The documentation describes a member 'set' which seems not to exist. It doesn't exist in the source code and the module doesn't seem to depend on anything else that might provide it. The code: use strict; use warnings; use Config::Tiny; my $cfgStr = <<CFG; [section] one=twp three= four Foo =Bar empty= CFG print "Before:\n$cfgStr\n"; my $config = Config::Tiny->new(); my $cfg = $config->read_string ($cfgStr); $cfg->set ('section', 'empty', 'flibble'); print "After:\n", $cfg->write_string (), "\n"; generates the error: Can't locate object method "set" via package "Config::Tiny" at noname1.pl line 18.
Птн. Окт. 31 21:57:04 2008, GRANDPA писал: Show quoted text
> The documentation describes a member 'set' which seems not to exist.
Was removed from repository. -- Alexandr Ciornii, http://chorny.net
Fixed in Config::Tiny 2.13