Out of Office

2005-09-23 Thread Simon Hawkes
I will be out of the office starting 23-09-2005 and will not return until 03-10-2005. I am out of the office, and will deal with your email when I return on 31-05-05. Alternatively, please contact Igor Ivanov or Ed Van den Brink ___ Perl-Win32-Users

RE: Hashes

2005-09-23 Thread Peter Guzis
Here are a few issues in the order they occur within your script: 1. %start = $message_>{Start}; This should be: my $start = $message->{Start}; You are trying to assign an odd number of elements to a hash, which is most likely not your intention. Also, you meant "->" instead of "_>".

RE: Hashes

2005-09-23 Thread Ken Cornetet
That is a "variant" data type. See the docs under Win32::OLE::Variant -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gallagher Timothy-TIMOTHYG Sent: Friday, September 23, 2005 2:00 PM To: perl-win32-users@listserv.ActiveState.com Subject: Hashes I have

Re: Hashes

2005-09-23 Thread Chris Wagner
Ur not refering to the hash correctly. And it's foreach not for each. foreach $key (keys %start) { print $start{$key}; } $message->{Start} may be returning a reference to a hash rather than a hash. In that case: $start = $message->{Start}; foreach $key (keys %{$start}) { print ${

Hashes

2005-09-23 Thread Gallagher Timothy-TIMOTHYG
I have a question pertaining hashes. I have a script that gets Outlook calendar information and I an running into some problems. I have this hash : [CODE] $message->{Start}; # start date [/CODE] $message->{START} contains many other values but I do not know what they are. So I try this:

Re: Writing Control Codes to a file?

2005-09-23 Thread $Bill Luebkert
Warner, William A wrote: > When I write to a file, most everything goes in as 30 or greater. For > instance, this code: > > > > binmode OUT_FILE; > >syswrite OUT_FILE, 0x0; > > > > Puts a 30 in the DOS debug screen’s left pane and puts a 0 in the DOS > debug’s right screen. >

RE: Writing Control Codes to a file?

2005-09-23 Thread Thomas, Mark - BLS CTR
Think about it this way:   There is only one value of zero. Representing it as hex does not change the value. When the zero is stringified, it is converted to ASCII 30. To get a specific ASCII character, use chr(). So what you want is the ASCII NUL which is chr(0).   - Mark. From:

Writing Control Codes to a file?

2005-09-23 Thread Warner, William A
When I write to a file, most everything goes in as 30 or greater. For instance, this code:   binmode OUT_FILE;    syswrite OUT_FILE, 0x0;   Puts a 30 in the DOS debug screen’s left pane and puts a 0 in the DOS debug’s right screen.   I understand that an ascii zero is repres