Re: Need help to start with...

2010-04-03 Thread Shlomi Fish
Hi Arjun, On Saturday 03 Apr 2010 05:42:31 Arjun wrote: > Hi, I'm new to this group. I would like to learn the PERL language. > Can someone suggest me some good e-books or tutorials to start > learning PERL? You can find links to recommended E-books, tutorials and a lot of other material on the

Re: Need help to start with...

2010-04-03 Thread Harinatha Reddy M
http://learn.perl.org/books/beginning-perl/ This book should be a decent one to start with.

Need help to start with...

2010-04-03 Thread Arjun
Hi, I'm new to this group. I would like to learn the PERL language. Can someone suggest me some good e-books or tutorials to start learning PERL? -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/

Working with files of different character encodings

2010-04-03 Thread Doug Cacialli
Thanks to much help from the list, and hours of reading up on Unicode, the Encode module, and many posts to perlmonks, I've come up with a hideous solution for processing text files with different character encodings. Can someone please explain why this first block of code works when decoding .txt

Re: Permission mode of a directory

2010-04-03 Thread Akhthar Parvez K
Excellent, John. Didn't know that Perl only deals with decimal numbers. Funny thing was I did think that it could be a hex, so converted it to binary and done an AND, but didn't get the desired result. Wonder why I didn't give a thought that it could be decimal! Regards, Akhthar Parvez K http:/

Re: Permission mode of a directory

2010-04-03 Thread John W. Krahn
Akhthar Parvez K wrote: Hi all, Hello, I have been trying to get the mode of a directory with the stat function in perl (currently using the one from File::stat) with no success so far. It looks like it is working to me. Basically I want to check if a given directory is having 1777 permis

Permission mode of a directory

2010-04-03 Thread Akhthar Parvez K
Hi all, I have been trying to get the mode of a directory with the stat function in perl (currently using the one from File::stat) with no success so far. Basically I want to check if a given directory is having 1777 permission (like /tmp) and I was thinking about storing the mode of the direct