problem printing contents of file in directory

2007-06-28 Thread alok nath
Hi, Can anybody tell me why its not printing the contents of each inside a particular folder ? I lost all my hairs scratching my head. Thanks Alok. my $tstToRunDir = C:\\perlScripts ; my $fileInTstToRunDir ; opendir TST2RUN, $tstToRunDir || die Failed to open $tstToRunDir $!\n ; open

Re: problem printing contents of file in directory

2007-06-28 Thread John W. Krahn
alok nath wrote: Hi, Hello, Can anybody tell me why its not printing the contents of each inside a particular folder ? Yes I can, and so can Perl's documentation: perldoc -f readdir my $tstToRunDir = C:\\perlScripts ; my $fileInTstToRunDir ; opendir TST2RUN, $tstToRunDir || die Failed