in reply to Re: Pattern match not working sometimes
in thread Pattern match not working sometimes
OK, so I added:
my $stuff = unpack('B64', $datagram); print "This is data: $stuff\n";
within the final else. Here is the output
Length : 1205 Length : 1205 Did not match! This is data: 00001010010111000101011001001001010011110011111100100100 +01110110 Length : 1205 Length : 1205
The only thing that I noticed is that all the data that doesn't match seem to start with four 0's, but I would think that it would still match. Anyway let me know if you see anything.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Pattern match not working sometimes
by GrandFather (Saint) on Mar 18, 2012 at 21:42 UTC | |
by dantheman1210 (Beadle) on Mar 18, 2012 at 23:31 UTC | |
|
Re^3: Pattern match not working sometimes
by bitingduck (Deacon) on Mar 18, 2012 at 21:52 UTC |