in reply to Re: Problems with my DB lookup script
in thread Problems with my DB lookup script
Kenneth,
Thanks for taking time to go through my post... You hit the nail on the head... $VAR1 now returns:
$VAR1 = { '[SvrStatus]' => 'DEVELOPMENT', '[ApproxUsers]' => 151, '[AsstNo]' => 'AS012345', '[ServerLocation]' => 'XDC 1 5 34', '[OSVersion]' => '5.0', '[ServerServiceNo]' => 'CD123DC321', '[ServerDescription]' => 'App Server', '[IPAddress1]' => 'XXX.XXX.XXX.XXX', '[ServerDomain]' => 'XYZ' };
Now all I have to do is figure out how to split this up into the individual fields. I need them to be assigned to:
$EVENT->{'slots'}->{'NTSD_SvrStatus'} $EVENT->{'slots'}->{'NTSD_ApproxUsers'} $EVENT->{'slots'}->{'NTSD_AsstNo'}etc...
Onwards and upward...
Many thanks
Mych
|
|---|