hello monks
I tried using // because single / will be an escape character
but it did not work even after doing that
Unable to open file:No such file or directory at C:\Perl\hprd.pl line 14.
is there any way to open files from a subdirectory
No, a two slashes are . . . two slashes. Two backslashes make a single slash because the first escapes the later. It makes a difference which way they're pointing because they're different characters. Read the section on 'quotelike operators' in perlop.