Subject: | bug config::auto (xml) with workflow::config::xml |
Date: | Tue, 21 Oct 2008 10:51:42 +0200 |
To: | bug-config-auto [...] rt.cpan.org |
From: | "ch_mail [...] gmx.at" <ch_mail [...] gmx.at> |
hi!
seems there is a problem with XMLin (ForceArray) that
Workflow::Config::XML is also using.
------------------------------------------------------------
use Workflow::Factory qw (FACTORY);
use Config::Auto;
my $cfg = Config::Auto::parse ("x.cfg",format=>"xml"); # OK
FACTORY->add_config_from_file
(
workflow => "workflow.xml",
action => "action.xml",
persister => "persister.xml"
);
$cfg = Config::Auto::parse ("x.cfg",format=>"xml"); # NOT OK
---------------------------------------------------------------------------
ERROR:
No value specified for 'ForceArray' option in call to XMLin() at
/usr/local/share/perl/5.8.8/Config/Auto.pm line 210
regards
chris