in reply to Check udp stream coming in

You can open a pipe to a tcpdump process, and parse its output. See also: perlopentut (search for "Pipe Opens").
Perl 6 - links to (nearly) everything that is Perl 6.