in reply to xml::Writer query

Hi

Probably this hint helps:

my @clauses; foreach $node(@device_list) { my @get_data = split ' ' , $node; push @clauses, '(where node="' . $get_data[0] . "' and port="' . $ +get_data[1] . '")'; } my $filter_string = join ' or ', @clauses; # ...to be continued

Best regards
McA

Replies are listed 'Best First'.
Re^2: xml::Writer query
by GerryD (Initiate) on Oct 16, 2012 at 07:57 UTC
    awesome, thanks alot, that makes sense..