Hello all,
My Perl skills are not the greatest in the world. If any kind people out there can give me some guidance, I would be very grateful.
I have a scaler, $result, which contains the output of the iwgetfilejobs command line tool. So, for example, $result might contain this string:
\default\main\Internet\WORKAREA\workarea\about\default.asp job=16682 task=16704 job=16706 task=16716
I need to be able to do the following:
1. Determine if there is more than one occurrence of "job=" in $result.
2. Extract all the job ids from $result and put them into an array,
@jobs.
Any suggestions?
Thanks!