Net::WebSocket::HTTP - HTTP utilities for Net::WebSocket
@tokens = Net::WebSocket::HTTP::split_tokens($tokens_str);
A parser for the 1#token format as defined in RFC 2616. (1# and token are defined independently of each other.)
1#token
1#
token
Returns a list of the HTTP tokens in TOKENS_STR. Throws an exception if any of the tokens is invalid as per the RFC’s token definition.
To install Net::WebSocket, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::WebSocket
CPAN shell
perl -MCPAN -e shell install Net::WebSocket
For more information on module installation, please visit the detailed CPAN module installation guide.