http://www.perlmonks.org?node_id=701315


in reply to Re^4: Equal strings don't match!
in thread Equal strings don't match!

Looks like you're trying to reinvent Proc::ProcessTable. I'd recommend you to use that, at least this way you'll avoid most of the pitfalls your code presents (it may crash in a million ways as you don't handle the *many* errors that may occur when processing files from such a volatile file-system as /proc).