- or download this
<person>
<firstname>Bob</firstname>
...
<dob>18-Aug-1972</dob>
<hobby>Fishing</hobby>
</person>
- or download this
<person firstname="Bob" surname="Smith" dob="18-Aug-1972" hobby="Fis
+hing" />
- or download this
<person firstname="Bob" surname="Smith" dob="18-Aug-1972">
<hobby>Fishing</hobby>
<hobby>Trainspotting</hobby>
</person>
- or download this
my $person = XMLin($filename)
- or download this
{
firstname => "Bob" ,
...
dob => "18-Aug-1972",
hobby => "Fishing",
}
- or download this
{
firstname => "Bob" ,
...
dob => "18-Aug-1972",
hobby => [ "Fishing", "Trainspotting" ]
}
- or download this
my $person = XMLin($filename, forcearray => 1)
- or download this
{
firstname => [ "Bob" ],
...
dob => [ "18-Aug-1972" ],
hobby => [ "Fishing" ],
}
- or download this
{
firstname => "Bob",
...
dob => "18-Aug-1972",
hobby => [ "Fishing", "Trainspotting" ],
}
- or download this
my $person = XMLin($filename, forcearray => [ 'hobby' ])
- or download this
{
firstname => "Bob",
...
dob => "18-Aug-1972",
hobby => [ "Fishing", "Trainspotting ],
}