Kashratul has asked for the wisdom of the Perl Monks concerning the following question:
Hi Perl gurus,
I am using Win32::IEAutomation for automating Gmail. I have couple of question?
A. How do I access the Java script that is running inside, once I sign in?
B. After signing in I am using getAgent() option. This is returing a Hash Reference: Win32::OLE=HASH(0x225b94)
Following is the code I am using to dereference it:
$ie->getAgent(); my %hash = %{$ie->getAgent()}; foreach my $key (keys %hash) { printf "at %s we have %s\n", $key, $hash{$key}; }
But it is printing nothing.
Can any one help me regarding this.
Thanks for any help.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: accessing data inside HASH(0x225b94)
by Fletch (Bishop) on Feb 12, 2008 at 12:54 UTC | |
|
Re: accessing data inside HASH(0x225b94)
by hipowls (Curate) on Feb 12, 2008 at 11:01 UTC | |
by Anonymous Monk on Feb 12, 2008 at 11:24 UTC | |
by Kashratul (Acolyte) on Feb 13, 2008 at 04:11 UTC | |
|
Re: accessing data inside HASH(0x225b94)
by nikosv (Deacon) on Feb 12, 2008 at 17:22 UTC | |
by Kashratul (Acolyte) on Feb 13, 2008 at 11:19 UTC | |
by nikosv (Deacon) on Feb 13, 2008 at 19:45 UTC |