NT vs Unix perl nits

Arthur Corliss corliss at sinbad.net
Thu Apr 1 15:16:33 CST 1999


On Thu, 1 Apr 1999, Rox Reid-Bennett wrote:

> I'm relatively new to perl on NT, so....
> 
> Has anybody else run perl on an NT box and run up against "stat" not
> working?

;-) I avoid NT at all costs, so can't help much.

> Jim was attempting to figure out the count of subdirs using stat. Works
> fine on a Unix box, returns "1" in all cases on the NT box. (using the
> value from nlink)

What filesystem is he trying it on?  NTFS is somewhat limited in its posix
compliance (or is it the OS'es fault ;-).  While NTFS knows what links are,
Windows apps wouldn't know what to do with it when they saw it. . .

	--Arthur Corliss
	  Bolverk's Lair -- http://www.odinicfoundation.org/arthur/
	  "Live Free or Die, the Only Way to Live" -- NH State Motto




More information about the Anchorage-pm mailing list