RE: about readdir call

2008-06-05 Thread Rajnikant
Subject: RE: about readdir call Rajnikant <[EMAIL PROTECTED]> asked: > I'm reading one directory using readdir call. but I'm getting > different output from that I got by running ls -l command on same > directory manually. Following is the snippet I'm using: &

RE: about readdir call

2008-06-05 Thread Thomas Bätzler
Rajnikant <[EMAIL PROTECTED]> asked: > I'm reading one directory using readdir call. but I'm getting > different output from that I got by running ls -l command on > same directory manually. Following is the snippet I'm using: > #!/usr/bin/perl -w $dirname = '/test_dir'; opendir ( DIR, $dirna