Re: Working with files of different character encodings

2010-04-05 Thread Doug Cacialli
d block of code work? Or otherwise accomplish the task without opening the .txt file twice? === Douglas Cacialli, M.A. - Doctoral candidate Clinical Psychology Training Program University of Nebraska-Lincoln Lincoln, Nebraska 68588-0308 === On Sun, Apr 4, 2010 at 11:10 AM, Dr.Ruud wrote: > Doug Ca

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: Perl appears to be introducing whitespace when reading .txt files

2010-03-31 Thread Doug Cacialli
presented by Thomas and Dr. Rudd are a little beyond me. I'm reading up now, but can someone shed some light? How can this be resolved in Windows with Strawberry Perl? === Douglas Cacialli, M.A. - Doctoral candidate Clinical Psychology Training Program University of Nebraska-Lincoln Lincoln

Re: Perl appears to be introducing whitespace when reading .txt files

2010-03-31 Thread Doug Cacialli
27;ll post the full code later this afternoon. Thanks again for all the help!! === Douglas Cacialli, M.A. - Doctoral candidate Clinical Psychology Training Program University of Nebraska-Lincoln Lincoln, Nebraska 68588-0308 === On Wed, Mar 31, 2010 at 4:08 AM, Dr.Ruud wrote: > Doug Cacialli

Perl appears to be introducing whitespace when reading .txt files

2010-03-30 Thread Doug Cacialli
I'm completely baffled by this and not entirely sure where to start. I have a plain text file, testfile.txt, which contains a single line: Very truly yours, It is written exactly how you see it above, with a newline at the end. I'm trying to write a script that will determine the number of wor

Re: Lingua::Stem 0.83 module installation problem

2010-03-16 Thread Doug Cacialli
On Tue, Mar 16, 2010 at 9:13 PM, Doug Cacialli wrote: > On Tue, Mar 16, 2010 at 4:36 AM, Dermot wrote: >> On 16 March 2010 00:29, Doug Cacialli wrote: >>> Hello list, >> >>> >>> Building Lingua-Stem >>> Can't locate Lingua/Stem.pm in @INC

Re: Lingua::Stem 0.83 module installation problem

2010-03-16 Thread Doug Cacialli
On Tue, Mar 16, 2010 at 4:36 AM, Dermot wrote: > On 16 March 2010 00:29, Doug Cacialli wrote: >> Hello list, > >> >> Building Lingua-Stem >> Can't locate Lingua/Stem.pm in @INC (@INC contains: >> C:/strawberry/perl/lib C:strawberry/perl/site/lib >>

Lingua::Stem 0.83 module installation problem

2010-03-15 Thread Doug Cacialli
Hello list, I'm really, really new in perl, so please forgive me if this is a silly problem with an obvious solution. I'm running the latest release of Strawberry Perl in Windows 7 Ultimate (x64), trying to install Lingua::Stem, a prereq for AI::Categorizer. I sucessfully installed about a dozen