in reply to unix command in perl

Show us some code that demonstrates the problem. Try using an example that would do the same thing on any unix/linux system (that is, don't make it depend on some particular data file in your home directory).