Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 lurking in the Monastery: (7)
As of 2014-12-20 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (95 votes), past polls