I'm a C++/Java developer so Perl is all new to me (laziness on my part I guess since it seems so popular with folks around here :). I have taken the advise of many in here and have solved my problem (thanks everyone).
BTW: I'm using Win 2K Advanced Server machine. "R. Joseph Newton" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Sharmarke Aden wrote: > > Hi Sharmarke, > > > > I'm new to Perl and trying to access several directories at the same time > > and simply read the content of the directory and do some processing on the > > files in those directories. The code below is a reference code to get > > started on the real work. The code below however crashes and I'm lost as to > > what the cause is. Any help you could give me I'd appreciate it. This code > > simple in that it looks for 3 letter directories and creates a stats file > > used to report the files in that directory. Eventually what I'll want to do > > is run those files through processing and take advantage of a bitching 8 > > processor machine we just got. BTW I'm using Perl 5.6 on win 2000 machine > > (ActivePerl-5.6.0.623-MSWin32-x86-multi-thread to be exact). > > [OT] > Is this Advanced Server, then? because otherwise you cannot use 8 processors. > Professional 2 > Server 4 > Advanced Server 8 > DataCenter Server 32 > [/OT] > > That is a large script, and you are asking others fr a lot of work in helping you. One thing you can do to start is to: > > use strict; > and deal with any errors encountered. > > The compiler is your best friend. It wll provide help in the form of syntax errors when you have not clearly defined the values you have in your variables. This should be your first line of defense against errors. Try using strict and let us know what errors you get, marking the lines reffered to in your code. That will help isolate potential issues. > > Joseph > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]