examples/socket.pl - Downloads a html file from a given URL and strips it to text.
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.
To install Prima, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Prima
CPAN shell
perl -MCPAN -e shell install Prima
For more information on module installation, please visit the detailed CPAN module installation guide.