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

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.

Replies are listed 'Best First'.
Re^9: problems parsing data
by ikegami (Patriarch) on Jul 16, 2010 at 14:44 UTC
    No. For example, the following will fail:
    print("Hello World") = 3;
    for my $ip (...) { my $res = ...; my ($image) = ...; print("$ip: $image\n"); }