8 Einträge, 1 Seite |
delete($struct->{SWITCH}->[$snum]);
perl -MData::Dumper -e '$struct->{SWITCH}->[0] = 1; delete $struct->{SWITCH}->[0]; print Dumper $struct'
perl -MData::Dumper -e '$struct->{SWITCH}->[0] = 1; delete $struct->{SWITCH}; print Dumper $struct'
1
2
3
4
5
6
<SWITCH content="bla" name "a">
......
</SWITCH>
<SWITCH content="qwertz" name "b">
......
</SWITCH>
delete $struct->{SWITCH}->[0];
8 Einträge, 1 Seite |