I am new to Perl and am trying to write a script to do the following.
I have an array, basically its an output of a command.
BIP: Message flow 'Message Flow name' on execution group 'EG' is running.(There are bunch of similar lines)
So I am using foreach $_(@array name) to read each line.
Now I just want the Message Flow name from the array and want to change running to started. and get that in the OP too. So, I want to get:
Message Flow Name,started as my OP.
Can you please help?
I tried splice, split but no use.
Thanks in advance.
your codethat has failed, somesample inputandsample desired output?