RE: [Perl-unix-users] 2 Failed Tests Installing 5.8.0

2003-08-04 Thread Mingbo_Wan
Thomas, It seems good. Did you enable some firewall rules? As I Know Redhat will install one as default. Mingbo -Original Message- From: Thomas Whitney [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 05, 2003 1:37 AM To: Mingbo_Wan Cc: [EMAIL PROTECTED] Subject: RE: [Perl-unix-users]

[Perl-unix-users] match function

2003-08-04 Thread Hong Wang
I like to check if file with .doc extension will be excluded. for example, if file name is todo.doc: How can I use match function? What I did is not working. What I tried: if($file !~ /\.doc/) { do something } or if($file !~ /.doc/) Thanks in advance! Hong

RE: [Perl-unix-users] How to recurse through a directory

2003-08-04 Thread Francis Paulin
Here's an example: my @g_filesArray; my $path = "A_PATH/test/logs/"; # The first parameter is a code ref to a function find(\&OneLOG, $path); # Executing sample code for each file foreach my $file (@g_filesArray) { # Printing the name of the file: print $file . "\n"; # Opening the

Re: [Perl-unix-users] How to recurse through a directory and do something with each file

2003-08-04 Thread Anthony Ettinger
use File::Find; check cpan.org for example --- Subrahmanyam Vadlamani <[EMAIL PROTECTED]> wrote: > Hi: > > I would like to recurse through a directory and do > something with the files in the directory (and all > sub-directories). > > What is the most efficient way of doing this? What > are so

[Perl-unix-users] How to recurse through a directory

2003-08-04 Thread Subrahmanyam Vadlamani
Hi: I would like to recurse through a directory and do something with the files in the directory (and all sub-directories). What is the most efficient way of doing this? What are some modules that I could use? If someone has some example code, I would very much appreciate it. thanks Satish

[Perl-unix-users] How to recurse through a directory and do something with each file

2003-08-04 Thread Subrahmanyam Vadlamani
Hi: I would like to recurse through a directory and do something with the files in the directory (and all sub-directories). What is the most efficient way of doing this? What are some modules that I could use? If someone has some example code, I would very much appreciate it. thanks Satish _

RE: [Perl-unix-users] 2 Failed Tests Installing 5.8.0

2003-08-04 Thread Thomas Whitney
Mingbo, > Did you check your /etc/hosts file? > Mingbo I did - here is what it looks like. Do you see anything that should or should NOT be there. # Do not remove the following line, or various programs # that require network functionality will fail. 127.0.0.1 localhost.localdoma

[Perl-unix-users] How to transform Perl 2 AWK?

2003-08-04 Thread EXTERN Chakirov Timour (TZ CIS; DS/ESQ3)
Hello there, I understand that this question should be asked in other mailing list, but I hope I could count on your friendly help. So I have a file which is containing a line (for example) FIELD_NAME="user" All I need is to get the value "user" without quotation mrks from this file. I wrote th

[Perl-unix-users] Sendmail

2003-08-04 Thread Mundell, R. (Ronald)
smime.p7m Description: S/MIME encrypted message