i am trying to write a perl script where i am reading the data into an array which is an output of some command like this:
my @a = system "p4 changes -u";
now that data has been into the array @a it looks something like this:
change 256789 on date.. by user@workspace 'some description'
change 256788 on date.. by user@workspace 'some description'
..........................................................
...........................................................
.
.
..
...
there are so many lines
now what i would like to do is get the "some description" field of each entry into another array and then append some common text to it.
any ideas how to do it , i am relatively new to Perl so not getting much ideas how to do it.