Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Use of uninitialized value $brip in join or string at script.pl line 50

by deep27ak (Novice)
on Sep 15, 2015 at 17:25 UTC ( [id://1142103]=note: print w/replies, xml ) Need Help??


in reply to Re: Use of uninitialized value $brip in join or string at script.pl line 50
in thread Use of uninitialized value $brip in join or string at script.pl line 50

Thanks very much for looking into this. Yes I understand it has multiple issues and I am still trying to evolve on scripting so I sure WILL take your advice in upcoming posts

I have updated my question a trimmed version of xml although it contains all the necessary input required for the script.

if BRLAN = y then first the script should search for CoreLanNum $n. and the loop should run as many times as $n and should match BR_IP with CorLanNum_IP and store the value in a array.

If this array is empty run next for loop and search of CoreVlanNum $n and the script should again search for CoreVlanIP with BR_IP and map it with equivalent netmask.

  • Comment on Re^2: Use of uninitialized value $brip in join or string at script.pl line 50

Replies are listed 'Best First'.
Re^3: Use of uninitialized value $brip in join or string at script.pl line 50
by poj (Abbot) on Sep 15, 2015 at 17:57 UTC

    For the first server mch30-nds-ins there in no BR_IP attribute to match against.

    poj
      Thanks for looking into this, YES since that is the primary condition is br_ip is YES then move ahead or else use @networklist which I have created at the start of my foreach loop

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2024-04-19 14:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found