Re: Reg. Directory listing program

2008-06-06 Thread John W. Krahn
Gunwant Singh wrote: Hi, Hello, Let me thank you for your help. I think you guys are doing a great work, its really appreciative. Thanks to David and John. Now that I changed my *"perl"* code to the following, its actually working *use strict; use warnings; use File::stat; opendir (DH,

Re: Reg. Directory listing program

2008-06-04 Thread John W. Krahn
Wagner, David --- Senior Programmer Analyst --- WGO wrote: From: Wagner, David --- Senior Programmer Analyst --- WGO From: Gunwant Singh [mailto:[EMAIL PROTECTED] 9 print "$file\t$perm\n"; Then change print to printf "$file %04o\n", $perm; Better to do it this way:

Re: Reg. Directory listing program

2008-06-04 Thread John W. Krahn
Gunwant Singh wrote: Hi, Hello, I am new to this mailing list and I am very new to PERL. perldoc -q "What.s the difference between .perl. and .Perl.?" So, please bear with me for my questions. I wrote a code that lists files in a directory with the permissions. I am coding for MS-Windows

RE: Reg. Directory listing program

2008-06-04 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Wagner, David --- Senior Programmer Analyst --- WGO > [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2008 11:08 > To: Gunwant Singh; beginners@perl.org > Subject: RE: Reg. Directory listing program > > > -Original Mes

RE: Reg. Directory listing program

2008-06-04 Thread Wagner, David --- Senior Programmer Analyst --- WGO
> -Original Message- > From: Gunwant Singh [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 04, 2008 10:02 > To: beginners@perl.org > Subject: Reg. Directory listing program > > Hi, > > I am new to this mailing list and I am very new to PERL. So, > please bear > with me for my question