Subject: | warning/messages while testing example code |
Date: | Wed, 6 Jan 2016 18:59:03 +0000 |
To: | "bug-ServiceNow-SOAP [...] rt.cpan.org" <bug-ServiceNow-SOAP [...] rt.cpan.org> |
From: | "Wechsler, Steven" <steven.wechsler [...] viacom.com> |
I wrote a script similar to the examples in your documentation:
######################
#! /usr/bin/perl -w
use ServiceNow::SOAP;
use Data::Dumper;
my ($user, $password);
$user = "myuser";
$password = "mypass";
my $sn = ServiceNow("mycompany", $user, $password);
my $computer_tbl = $sn->table("cmdb_ci_computer");
my $incident_tbl = $sn->table("incident");
my @recs = $computer_tbl->getRecords(
"location.name" => "mylocation",
"operational_status" => "1",
__order_by => "name",
__limit => 50);
print Dumper(@recs);
######################
And received the following warnings/messages (although the script did work):
"my" variable $sysid masks earlier declaration in same scope at /usr/lib/perl5/site_perl/5.8.8/ServiceNow/SOAP.pm line 716.
Day too big - 41661 > 24855
Sec too small - 41661 < 74752
Sec too big - 41661 > 11647
<data>
...
Thanks for your work on this!
Steve Wechsler
Viacom Media Networks