Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: XML::Simple forcearray problem

by larsen (Parson)
on Aug 07, 2003 at 19:38 UTC ( #282007=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
        if($StrictMode  and  $dirn eq 'in') {
          croak "No value specified for 'ForceArray' option in call to XML
    +$dirn()";
        }
        $opt->{forcearray} = 0;
    
  2. or download this
    open(FILE, "someFile.DTD") or die "can't open file: $!";
    #...
    my $config = XMLin($FILE, forcearray => 1);
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://282007]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (3)
As of 2018-05-24 05:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?