sending mail through Outlook

2003-08-18 Thread Mark Aycock
I am troubleshooting the following script. I want to use Outlook for sending the message for specific reasons. I am having problems with one user on one machine running the script. The same user logged in on another box can run the script. The error I get is: Win32::OLE(0.1101): GetOleTypeLibO

Re: Environment variables on Win98

2003-08-18 Thread Jan Dubois
On Mon, 18 Aug 2003 11:23:06 -0700, "$Bill Luebkert" <[EMAIL PROTECTED]> wrote: >Arms, Mike wrote: > >> Looks like one too many "}," here: >> >> 4 => { 0 => { 1 => 'Windows 95', >>2 => 'Windows NT 4.0' }, }, >> >> and the close should be after: >> >> 90 => { 1 =>

RE: CPAN Module UNIX Windows newline character

2003-08-18 Thread Peter Eisengrein
Title: RE: CPAN Module UNIX Windows newline character Thanks Ted. My way may have only been for Windows (was kinda the point), and it may been a bit long winded but it gets the job done. So there! -Original Message- From: Ted S. [mailto:[EMAIL PROTECTED]] Sent: Monday, August 18,

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread Carl Jolley
On Mon, 18 Aug 2003, $Bill Luebkert wrote: > Peter Eisengrein wrote: > > > Here's a simple unix2dos script to save you from having to do the MS > > Word conversion in the future. > > > > This script will only work on a Windoze system of course: > > > ### unix2dos.pl > > > > use strict; > > use Fil

RE: Environment variables on Win98

2003-08-18 Thread Arms, Mike
Looks like one too many "}," here: 4 => { 0 => { 1 => 'Windows 95', 2 => 'Windows NT 4.0' }, }, and the close should be after: 90 => { 1 => 'Windows Me' }, So the tested code becomes: my %maj_min_id = ( 3 => { 51 => { 0 => 'Windows NT 3.51' }, },

Re: Environment variables on Win98

2003-08-18 Thread $Bill Luebkert
Arms, Mike wrote: > Hi, Bill. > > Is there a bug in this entry: > >4 => { 0 => { 1 => 'Windows 95' }, > 10 => { 1 => 'Windows 98' }, > 90 => { 1 => 'Windows Me' }, >0 => { 2 => 'Windows NT 4.0' }, }, > > The second "0 =>" effectively wipes ou

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread Ted S.
On 18 Aug 2003, $Bill Luebkert wrote in perl: > Peter Eisengrein wrote: > >> Here's a simple unix2dos script to save you from having to do the MS >> Word conversion in the future. >> > > This script will only work on a Windoze system of course: Hmmm. This is the Perl-Win32-Users mailing list,

RE: CPAN Module UNIX Windows newline character

2003-08-18 Thread Joe Camel
The CPAN module is your friend. :) It will download and install the modules for you. Either use PPM or CPAN. Using CPAN is as simple as using PPM. Here is the CPAN documentation: http://search.cpan.org/author/JHI/perl-5.8.0/lib/CPAN.pm Of course, you could also do it your way. But you are taking

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread $Bill Luebkert
Carl Jolley wrote: > On the other hand with the script: > > #!perl -pi.bak > BEGIN { binmode STDIN; binmode STDOUT; } > s/[\r*\n*]+$/\r\n/; > __END__ > > > I can't figure out why you would want to replace the first string of one > or more consecutive '*' characters on each line with "\r\n" whil

Re: Environment variables on Win98

2003-08-18 Thread $Bill Luebkert
Arms, Mike wrote: > Looks like one too many "}," here: > > 4 => { 0 => { 1 => 'Windows 95', >2 => 'Windows NT 4.0' }, }, > > and the close should be after: > >90 => { 1 => 'Windows Me' }, > > So the tested code becomes: > > my %maj_min_id = ( > 3 => {

Re: CPAN Module UNIX Windows newline character

2003-08-18 Thread $Bill Luebkert
Peter Eisengrein wrote: > Here's a simple unix2dos script to save you from having to do the MS > Word conversion in the future. > This script will only work on a Windoze system of course: > ### unix2dos.pl > > use strict; > use File::Copy; > > my $file = $ARGV[0] || die "Usage: $0 filename\n"

Re: Thoritical limits on perl processes

2003-08-18 Thread Ted S.
On 18 Aug 2003, Subrahmanyam Vadlamani wrote in perl: > Suppose I want to read in large text files and want to > do something with them. Are there any theoritical > limits on the process size of a perl script? Seeing as there are about 10^85 atoms in the universe, I don't think you could have a

RE: CPAN Module UNIX Windows newline character

2003-08-18 Thread Peter Eisengrein
Title: RE: CPAN Module UNIX Windows newline character Here's a simple unix2dos script to save you from having to do the MS Word conversion in the future. ### unix2dos.pl use strict; use File::Copy; my $file = $ARGV[0] || die "Usage: $0 filename\n"; my $temp = "$ENV{TEMP}/$file\.$$"; o

Re: [Perl-unix-users] Thoritical limits on perl processes

2003-08-18 Thread Martin Moss
Title: RE: [Perl-unix-users] Thoritical limits on perl processes Hi,   You may also want to ask yourself whether reading the whole file into memory rather than processing it line by line is a good idea if the file size is large. This all depends on what you are doing with the file's contents

Re: Thoritical limits on perl processes

2003-08-18 Thread Carl Jolley
On Mon, 18 Aug 2003, Subrahmanyam Vadlamani wrote: > Hi: > > Suppose I want to read in large text files and want to > do something with them. Are there any theoritical > limits on the process size of a perl script? > > My scripts are going to be running on an AIX 5.1 > machine with quite a bit of

Thoritical limits on perl processes

2003-08-18 Thread Subrahmanyam Vadlamani
Hi: Suppose I want to read in large text files and want to do something with them. Are there any theoritical limits on the process size of a perl script? My scripts are going to be running on an AIX 5.1 machine with quite a bit of RAM (about 8 GB RAM). I will be using perl 5.6.0. thanks for th