|Keep It Simple, Stupid|
Trying to capture a value from a list of valuesby parthodas (Acolyte)
|on Sep 02, 2015 at 08:48 UTC||Need Help??|
parthodas has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to capture the first value from a list of values. My script has multiple sub sections. In one, we have declared global variables and then as per requirement we are using them. As per my requirement, I'm calling linux servers(which has 4 values), and try to capture the first value. It is not coming as expected.
The output looks like this --
If I'm trying to assign the value, it is giving junk result --
The output shows -- 1