explorer@casa:~/Documents/Desarrollo> cat fichero.xml; ./kk.pl
<?xml version="1.0" standalone="yes"?>
<Mibs>
<UBR100000>
<SNRTotal>a</SNRTotal>
<SNR>b</SNR>
<CW_UNER>c</CW_UNER>
<CW_CORR>d</CW_CORR>
<CW_UNCORR>e</CW_UNCORR>
<FREQ>f</FREQ>
<OCUPACION>g</OCUPACION>
<MODCM>h</MODCM>
<MOD>i</MOD>
</UBR100000>
<UBR7200>
<SNRTotal>a</SNRTotal>
<SNR>b</SNR>
<CW_UNER>c</CW_UNER>
<CW_CORR>d</CW_CORR>
<CW_UNCORR>e</CW_UNCORR>
<FREQ>f</FREQ>
<OCUPACION>g</OCUPACION>
<MODCM>h</MODCM>
<MOD>i</MOD>
</UBR7200>
</Mibs>
$VAR1 = bless( {
'parser' => bless( {
'Non_Expat_Options' => {
'NoLWP' => 1,
'Non_Expat_Options' => 1,
'_HNDL_TYPES' => 1,
'Handlers' => 1,
'Style' => 1
},
'Base' => './fichero.xml',
'Pkg' => 'MyClass',
'_HNDL_TYPES' => {
'CdataEnd' => sub { "DUMMY" },
'Start' => sub { "DUMMY" },
'Entity' => sub { "DUMMY" },
'ExternEntFin' => sub { "DUMMY" },
'End' => sub { "DUMMY" },
'Final' => 1,
'Doctype' => sub { "DUMMY" },
'Char' => sub { "DUMMY" },
'Init' => 1,
'XMLDecl' => sub { "DUMMY" },
'Default' => sub { "DUMMY" },
'CdataStart' => sub { "DUMMY" },
'Comment' => sub { "DUMMY" },
'Unparsed' => sub { "DUMMY" },
'ExternEnt' => sub { "DUMMY" },
'Element' => sub { "DUMMY" },
'Attlist' => sub { "DUMMY" },
'DoctypeFin' => sub { "DUMMY" },
'Notation' => sub { "DUMMY" },
'Proc' => sub { "DUMMY" }
},
'Handlers' => {
'End' => sub { "DUMMY" },
'Char' => sub { "DUMMY" },
'ExternEnt' => sub { "DUMMY" },
'Start' => sub { "DUMMY" }
},
'ErrorContext' => 2
}, 'XML::Parser' ),
'file' => 'fichero.xml',
'command' => '(+Mibs,{}{ }(+UBR100000,{}{ }(+SNRTotal,{a})
{}{ }(+SNR,{b})
{}{ }(+CW_UNER,{c})
{}{ }(+CW_CORR,{d})
{}{ }(+CW_UNCORR,{e})
{}{ }(+FREQ,{f})
{}{ }(+OCUPACION,{g})
{}{ }(+MODCM,{h})
{}{ }(+MOD,{i})
{}{ })
{}{ }(+UBR7200,{}{ }(+SNRTotal,{a})
{}{ }(+SNR,{b})
{}{ }(+CW_UNER,{c})
{}{ }(+CW_CORR,{d})
{}{ }(+CW_UNCORR,{e})
{}{ }(+FREQ,{f})
{}{ }(+OCUPACION,{g})
{}{ }(+MODCM,{h})
{}{ }(+MOD,{i})
{}{ })
{})
'
}, 'MyClass' );
(+Mibs,{}{ }(+UBR100000,{}{ }(+SNRTotal,{a})
{}{ }(+SNR,{b})
{}{ }(+CW_UNER,{c})
{}{ }(+CW_CORR,{d})
{}{ }(+CW_UNCORR,{e})
{}{ }(+FREQ,{f})
{}{ }(+OCUPACION,{g})
{}{ }(+MODCM,{h})
{}{ }(+MOD,{i})
{}{ })
{}{ }(+UBR7200,{}{ }(+SNRTotal,{a})
{}{ }(+SNR,{b})
{}{ }(+CW_UNER,{c})
{}{ }(+CW_CORR,{d})
{}{ }(+CW_UNCORR,{e})
{}{ }(+FREQ,{f})
{}{ }(+OCUPACION,{g})
{}{ }(+MODCM,{h})
{}{ }(+MOD,{i})
{}{ })
{})
Coloreado en 0.002 segundos, usando
GeSHi 1.0.8.4