Re: File::Find and Platform Capability

2002-01-30 Thread J . Hourihane
I am having difficulty opening a directory and recursively listing the files on NT Win32 I can do it on Unix but when I try it on NT with both UNC and drive letter I get nothing... Unix ### !/util/perl5.static -w use File::Find; open(OUT, docs.out); sub wanted {

RE: File::Find and Platform Capability

2002-01-30 Thread McCollum, Frank
are pushed into the @files array, and I just moved on from there and decided to learn the details later. -Frank -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 3:03 PM To: [EMAIL PROTECTED] Subject: Re: File::Find and Platform

RE: File::Find and Platform Capability

2002-01-30 Thread Nikola Janceski
try using find( \wanted, D:/); -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 30, 2002 3:03 PM To: [EMAIL PROTECTED] Subject: Re: File::Find and Platform Capability I am having difficulty opening a directory and recursively listing

RE: File::Find and Platform Capability

2002-01-30 Thread Sean O'Leary
At 03:15 PM 1/30/2002, you wrote: Always check the return value of system calls to make sure they have succeeded. I think your output file isn't getting opened. open(OUT, docs.out); should be something like, open OUT, docs.out or die Can't open output file: $!\n; This way, if the OUT