Subject: | NetPacket::UDP::strip missing braces, inconsistent |
I ran into an issue using NetPacket::UDP::strip, in particular with line 81:
return $tcp_obj->data;
It just needs braces (Can't locate object method "data" via package "��"):
return $tcp_obj->{data};
It may also be helpful for others if the variable name wasn't "tcp_obj". I imagine it was just a copy and paste, but it'd definitely be nice (especially for people like me, coming into this family of modules directly to UDP).
Thank you.