in reply to Re^4: problems parsing data
in thread problems parsing data

It means the regex never matched. Please provide the output of
use Data::Dumper; print(Dumper([$res->result()]));

Replies are listed 'Best First'.
Re^6: problems parsing data
by zonevbkr (Initiate) on Jul 16, 2010 at 00:23 UTC

    Here is the output: Again, thanks for the help with this.

    $VAR1 = [ 'DeviceType: L3Switch DeviceInformation: Contact: NOC 123-456-7890 Hostname: wano121 Location: JCDC Manufacturer: Cisco Model: WS-C3750G-48TS-S (C3750 series) OSVer: 12.2(46)SE Processor: WS-C3750G-48TS (PowerPC405) ROMVer: 12.2(25r)SEE4 SerialNumber: FOC1325Z4CF,FOC1325Z688 ServiceTypes: Power SystemImage: flash:c3750-advipservicesk9-mz.122-46.SE.bin SystemMemory: 134209536 ' ];
      In that case, my original answer was correct. $tftp is what $res->result() returns.

        OK, can the left side of the = still be any expression? Since I won't know what the results are until after I get them and they'll be different for each device, I don't see how I can hard code them to a var.