in reply to Get warranty information from a list of hosts

You could reduce the amount of typing, and the clutter, by using qq. These 2 lines are equivalent:
print "\"$host\",\"$brand\",\"$sn\",\"$pname\",\"$pn\",\"$type\",\"-\" +,\"-\"\n"; print qq("$host","$brand","$sn","$pname","$pn","$type","-","-"\n);

Replies are listed 'Best First'.
Re^2: Get warranty information from a list of hosts
by mickep76 (Beadle) on Oct 14, 2009 at 14:23 UTC

    Fixed the quoting issue also removed undef initialization which is not so nice.

    Thx.