in reply to Some binary wisdom needed

You might want to look at the file test operators -T and -B. They have to open the files to look at them, of course.

The PerlMonk tr/// Advocate