From bb2da96483f120ac9ec86f799ff43537f9a9e927 Mon Sep 17 00:00:00 2001 From: Nigel Sim Date: Wed, 27 Jan 2016 15:18:49 +1000 Subject: [PATCH] added a final option that does a substring match --- lib/process.pm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/process.pm b/lib/process.pm index f6d7f66..66e8acb 100644 --- a/lib/process.pm +++ b/lib/process.pm @@ -181,6 +181,11 @@ sub process_update { $pro++; next; } + if(index($3, $p) != -1) { + push(@pid, $1); + $pro++; + next; + } } if(substr($p, 0, 15) eq substr($_, 6, 15)) { push(@pid, $1);