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

In that case, my original answer was correct. $tftp is what $res->result() returns.

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

    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.

      No. For example, the following will fail:
      print("Hello World") = 3;
      for my $ip (...) { my $res = ...; my ($image) = ...; print("$ip: $image\n"); }