in reply to What is wrong with this code?

> What is wrong with this code?

I think probably "The system cannot find the file specified"?

Did you check your path ?

Please note that Perl has it's own commands to read directories.

Cheers Rolf

(addicted to the Perl Programming Language and ☆☆☆☆ :)

Replies are listed 'Best First'.
Re^2: What is wrong with this code?
by prab2112 (Novice) on Sep 08, 2014 at 09:35 UTC
    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