Hello
 
Maybe you can use
 
next if $file =~ /^\.\.?$/;
 
HTH

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Raful
Mr Mitchell H
Sent: Friday, February 01, 2008 9:26 AM
To: Activeperl (E-mail)
Subject: stat, readdir, opendir and friends


I have tried using both DirHandle as well as the tradition opendir and
readdir to get the mode.  Depending on the directory I open, directories
are somtimes found and sometimes they are skipped.  However, the .. is
never skipped over and is identified as a dircotry.  Any ideas?
 
Mitch

Mitchell Raful MCSE CCNP 
MCB Quantico 
Personal and Family Readiness (MRI) 
3044 Catlin Avenue 
Quantico, VA 22134 
Com: 703-784-5991 
DSN: 278-5991 
Cell: 804-363-0731 

 
_______________________________________________
ActivePerl mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to