I have not found any thing(for Linux) in perl that is intuitive. But I have found a C program that I use. It is at
I would like to hear if anyone else has done it with perl rather than have a system call.
Learn patience, you must.
Young PerlMonk, craves Not these things.
Use the source Luke.