in reply to Checking a running daemon

Try changing

if ($psaxline =~ "$process") {

to

if ($psaxline =~ m!$process!) {

If you want to use the =~ operator, you need to use it in conjunction with a regex.


Cor! Like yer ring! ... HALO dammit! ... 'Ave it yer way! Hal-lo, Mister la-de-da. ... Like yer ring!