Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: xml::Writer query

by McA (Priest)
on Oct 15, 2012 at 09:05 UTC ( #999034=note: print w/ replies, xml ) Need Help??


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


Comment on Re: xml::Writer query
Download Code
Re^2: xml::Writer query
by GerryD (Initiate) on Oct 16, 2012 at 07:57 UTC
    awesome, thanks alot, that makes sense..

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999034]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (14)
As of 2015-07-06 20:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (83 votes), past polls