- or download this
$tagstack{requirements}->[1] = {
text => "A node name",
...
contactnumber => "555-1212"
}
}
- or download this
#!/usr/bin/perl -wT
...
$tagstack{requirement} = \@temp;
# show the finished product
print Data::Dumper::Dumper(\%tagstack);
- or download this
<root>
<requirement contactname="Joe Average">A power cord.</requirement>
<requirement contactname="Jane Smith" contactnumber="555-1212">A node
+name</requirement>
</root>
- or download this
$VAR1 = {
'requirement' => [
...
}
]
};