in reply to POSIX::S_ISDIR() with $stat->mode values from Windows vs. Linux
Tricky question. Try $stat[2] instead of $stat[1] if you're initializing @stat with @stat = stat($filename).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: POSIX::S_ISDIR() with $stat->mode values from Windows vs. Linux
by isync (Hermit) on Oct 05, 2009 at 18:04 UTC |