in reply to parsing Win32::OLE::Variant
To find out how to get at the data in $bbData, you need to read the documentation supplied by your vendor, that is, Bloomberg. Most likely $bbData will contain a Collection and hence the Win32::OLE::in function will work for you:
for my $item (in $bbData) { ... };
Also, you should get into the habit of use strict; because if you fix that error, you'll be using a variable @bbData a few lines below that. The variable @bbData does not exist and Perl will stop you from using it if you allow it to by use strict;.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: parsing Win32::OLE::Variant
by kevind0718 (Scribe) on Sep 26, 2008 at 16:49 UTC | |
by Corion (Patriarch) on Sep 26, 2008 at 18:03 UTC | |
by Anonymous Monk on Sep 26, 2008 at 18:13 UTC | |
by Anonymous Monk on Sep 26, 2008 at 20:01 UTC | |
by Corion (Patriarch) on Sep 26, 2008 at 20:10 UTC | |
by kevind0718 (Scribe) on Sep 26, 2008 at 22:25 UTC | |
|