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
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 "_>".
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
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 ${
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:
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.
>
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:
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