Shouldn't this.
$twig->parsefile($input_xml);
Be this
$twig->parsefile($fh);
I got this error.
d_from_repair></returned_from_repair><ng_assignment_flag>ready</ng_ass +ignment_flag><sys_class_name>cmdb_ci_esx_server</sys_class_name><u_pr +ocurement_product_number></u_procurement_product_number><attributes>< +/attributes><u_location_stamp></u_location_stamp><fault_count>0</faul +t_count><operational_status>1</operational_status><cfg_auto_change></ +cfg_auto_change></result></response>: File name too long at vance.pl line 39. at vance.pl line 39. at /usr/lib/perl5/site_perl/5.22/XML/Twig.pm line 2874. XML::Twig::_croak("Couldn't open <?xml version=\"1.0\" encoding=\" +UTF-8\"?><response"..., 0) called at /usr/lib/perl5/site_perl/5.22/XM +L/Twig.pm line 794 XML::Twig::_checked_parse_result(undef, "") called at /usr/lib/per +l5/site_perl/5.22/XML/Twig.pm line 782 XML::Twig::parsefile(XML::Twig=HASH(0x6003eb060), "<?xml version=\ +"1.0\" encoding=\"UTF-8\"?><response><result><chec"...) called at van +ce.pl line 39 Debugged program terminated. Use q to quit or R to restart, use o inhibit_exit to avoid stopping after program termination, h q, h R or h o to get additional info. DB<1> q
In reply to Re^6: Need help with complex hash of hashes.
by vlturner
in thread Need help with complex hash of hashes.
by vlturner
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |