in reply to Re^3: perl unpack and matching the unpacked data
in thread perl unpack and matching the unpacked data
if ( $data eq "8000" || $data eq "0080" ) { $tid = "TEST"; $buf = "TEST SYSTEM"; } elsif ( $data eq "8000" || $data eq "0080" ) { $tid = "TOOL"; $buf = "TOOL SYSTEM"; } elsif.....
i think that will work. i will come back and update the thread when i come to a conclusion.elsif ( $data eq "8000" || "0080" ) { $tid = .....; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: perl unpack and matching the unpacked data
by AnomalousMonk (Archbishop) on Jul 18, 2014 at 01:10 UTC | |
|
Re^5: perl unpack and matching the unpacked data
by Laurent_R (Canon) on Jul 18, 2014 at 06:24 UTC |