The Perl Advent Calendar needs more articles for 2022. Submit your idea today!

NAME

examples/socket.pl - Downloads a html file from a given URL and strips it to text.

FEATURES

Tests the functionality of Prima::File and its events - onRead, onWrite and onException. ( The latter is not exemplified )

Note that the toolkit interface is alive during the download.