Jane, > Or am I totally misreading what -l is supposed to do? It seems you've either mixed up -l and -f or you've mixed up the print statements. Are you expecting that -l indicates whether it's a plain file? -Hao # ===== Want to unsubscribe from this list? # ===== Send mail with body "unsubscribe" to macperl-request@macperl.org