<> wrote:
> Can some perl god, please highlight the error of my ways?
A deity is hardly required, a _machine_ could have shown you the
error, but you did not ask it to.
> if ($DHCPDETAIL[3]=="somevalue"){
You should always enable warnings when developing Perl code!
Argument "somevalue" isn't numeric in numeric eq (==) at ...
> It's driving me crazy.
Program without
use warnings;
use strict;
and you can expect a good deal more mental anguish.
--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas