in reply to Re: What is wrong with this code?
in thread What is wrong with this code?

yes, the path is correct. As i am new so i wasn't aware that perl has it's own commands to read directories. i was able to do using that. Thanks