Looking for module

2002-10-31 Thread Chris Rogers
Has anyone seen a module that will help me output a document in Microsoft Word format? Any hint in the right direction will be greatly appreciated. Thanks, Chris -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: Looking for module

2002-10-31 Thread Chris Rogers
Thanks, but that won't work on a linux box (will it?) -Original Message- From: Kipp, James [mailto:James.Kipp@;mbna.com] Sent: Thursday, October 31, 2002 2:30 PM To: 'Chris Rogers'; '[EMAIL PROTECTED]' Subject: RE: Looking for module take a look at Win32::OLE.

Array Iteration

2002-11-11 Thread Chris Rogers
Hi all, I backed myself into a corner and cold use a little help. I have a multi-dimensional array that has a know number of elements at the deepest level but the number of levels is unknown. Here is a brief example: $menuarray[5][0] = "5" $menuarray[5][1] = "Sales" $menuarray[5][2] = "" $menua

RE: Divide Perl script

2003-02-27 Thread Chris Rogers
Just create a separate file to hold your "library" routines. You may name the file anything you like. Be sure to put the line: #!/usr/bin/perl at the top of the file (changing it to match where your version of perl is installed). I also put a: 1; on the next line to keep perl from bombing ou

RE: Check for duplicate entires

2003-04-03 Thread Chris Rogers
) { $cdat =~ s/\n$/$subcat\n/; } print CAT $cdat; } # close for my close(CAT); return; } Hope this helps. Chris Rogers -Original Message- From: Mike Blezien [mailto:[EMAIL PROTECTED] Sent: Thursday, April 03, 2003 11:41 AM To: Perl List Subject: Check for

Looking for Module

2003-05-30 Thread Chris Rogers
I'm looking for a perl module for CDO (Collaborative Data Objects) that I can use on a Linux box. I need this to be able to manipulate calendars, contacts, tasks, etc. on an Exchange 5.5 server. Or at least I think I need this. Info from microsoft on this topic is sketchy but from what I can tel

RE: check size of upload file

2003-05-30 Thread Chris Rogers
The command works on my box. The problem may be that you are trying to get the size of a file that is located on the client's machine. I think you will have to check the size of the file after it is uploaded and then decide if it's too big or not. If you want to check the file size before upload

RE: fetchrow_array

2003-06-17 Thread Chris Rogers
It sounds more like you want the fetchall_arrayref function. This will return all the records into a single array reference that can accessed by $temp->[x][y] where x defines the record and y defines the field. For example: my $dbh = DBI->connect('DBI:mysql:dbname','user') or die "Couldn't open

Perl and Exchange Server

2003-07-11 Thread Chris Rogers
I have been trying for some time to get at the contacts in a mailbox on exchange server 5.5. I have been using Win32::OLE with CDO. I can get the contacts folder, the count of items in it, and even the name of each contact but I can't seem to get at any of the fields. I have found many examples

RE: Perl and Exchange Server

2003-07-11 Thread Chris Rogers
is $con->{0x8083}\n"; print "email is $con->{'0x8083'}\n"; $field1 = "{04200600C046}"; $field2 = "0x8083"; print "email is $con->{$field1 . $field2}\n"; print "email is $con->{'Email

RE: Perl and Exchange Server

2003-07-11 Thread Chris Rogers
Rogers Cc: [EMAIL PROTECTED] Org (E-mail) Subject: Re: Perl and Exchange Server On Friday, Jul 11, 2003, at 11:24 US/Eastern, Chris Rogers wrote: > I have been trying for some time to get at the contacts in a mailbox on > exchange server 5.5. I have been using Win32::OLE with CDO. I can

Dynamic Array Re-Allocation

2001-06-08 Thread Chris Rogers
The subject line may not correctly describe the problem but that is probably because I don't really understand the problem myself. Here's a brief rundown of what I am trying to do: I have a string that is delimited by pipes ( | ) Within each subset of the string there are one or more othe

Mail::IMAPClient::BodyStructure

2001-07-31 Thread Chris Rogers
I am using the Mail::IMAPClient module and the extension BodyStructure to connect to Exchange Server 5.5. Everything seems to be working great ( I love this module ) except for one thing. When I use the BodyStructure extension, either nothing is being returned in the object or I don't know how

Confusion with hash reference and Mail::IMAPClient

2001-08-02 Thread Chris Rogers
I am using the Mail::IMAPClient module and the extension BodyStructure to connect to Exchange Server 5.5. Everything seems to be working great ( I love this module ) except for one thing. When I use the BodyStructure extension, either nothing is being returned in the object or I don't know how to

RE: SORTING BY DATE

2001-08-06 Thread Chris Rogers
the or symbol )numeric (<=> operator) sort in ascending ($a_fields before $b_fields)order on the second field ([1] since tha array is zero based). Chris Rogers Vifan USA, Inc. -Original Message- From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]] Sent: Monday, August 06, 2001 2:54 AM

Create an array of arrrays from a scalar

2001-08-07 Thread Chris Rogers
Maybe I'm crazy, but I would like to create an array of arrays from a single string. Here's an example of a string: (("TEXT" "PLAIN" ("format" "flowed") NIL NIL "7BIT" 206 4 NIL NIL NIL)("TEXT" "PLAIN" ("name" "Display.txt" "format" "flowed") NIL NIL "8BIT" 16330 412 NIL ("attachment" ("filename"

RE: Is there any function for converting uppercase characters to lowercase chars ?

2001-08-10 Thread Chris Rogers
Try: print "\L$variable"; This will print the entire string in lowercase. print "\U$variable"; This will print the entire string in uppercase. -Original Message- From: Rahul Garg [mailto:[EMAIL PROTECTED]] Sent: Friday, August 10, 2001 10:20 AM To: [EMAIL PROTECTED] Subject: Is t

RE: Very simple newbie problem

2001-08-14 Thread Chris Rogers
this helps. Chris Rogers -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 14, 2001 2:43 PM To: [EMAIL PROTECTED] Subject: Very simple newbie problem Thank goodness for this kind of list. I'm very new and am experiencing some mass confusion of

RE: index inside foreach{ ..}

2001-08-15 Thread Chris Rogers
I don't know if you can do it using a foreach but I would use a for loop. It may be just a tad slower but you'll get the results you're looking for. Using the loop below will start at the last index of the array @a and loop down to the first (assuming that the first index of the array is 0). @a

Confusion with Regular Expressions

2001-08-30 Thread Chris Rogers
While regular expressions are one of the most powerful aspects of Perl, they are probably my weakest point. I have a string that is quite irregular and am trying to fix it using a regex. What I need to do is find a substring that begins with a quote then a space then any characters (not includin

RE: Confusion with Regular Expressions

2001-08-30 Thread Chris Rogers
é that is throwing it off but I don't know how to include that in the character class. For all I know there may be more problems than that and definately a better way of doing it since I obviously have not included enough characters in the character class. -Original Message- From: B

RE: Confusion with Regular Expressions

2001-08-30 Thread Chris Rogers
é that is throwing it off but I don't know how to include that in the character class. For all I know there may be more problems than that and definately a better way of doing it since I obviously have not included enough characters in the character class. -Original Message- From: B

RE: Confusion with Regular Expressions

2001-08-30 Thread Chris Rogers
Thanks, but that didn't catch the string. I'll keep on trying -Original Message- From: Gibbs Tanton - tgibbs [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 4:41 PM To: 'Chris Rogers '; 'Beginners@Perl. Org (E-mail) ' Subject: RE: Confusion wi

RE: Confusion with Regular Expressions

2001-08-30 Thread Chris Rogers
ns > -Original Message----- > From: Chris Rogers [mailto:[EMAIL PROTECTED]] > Sent: Thursday, August 30, 2001 4:38 PM > To: Beginners@Perl. Org (E-mail) > Subject: RE: Confusion with Regular Expressions > > > OK. I have tried so many but haven't kept very good track

RE: Confusion with Regular Expressions

2001-08-30 Thread Chris Rogers
Thanks... Chris -Original Message- From: Carl Rogers [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 30, 2001 5:12 PM To: Chris Rogers; '[EMAIL PROTECTED]' Subject: RE: Confusion with Regular Expressions >There must be a way of >defining a character class using

Looking for Info

2001-09-26 Thread Chris Rogers
Sorry to bother you guys with this completely unrelated subject but I have had no luck finding much needed information. Does anyone know of a good resource for RPC and NFS? I have been trying to mount to a remote filesystem but have had no luck. The information I found on linuxdoc.org was helpf