Net::IPMessenger::CommandLine - Console Interface Command for IP Messenger
use Net::IPMessenger::CommandLine; my $ipmsg = Net::IPMessenger::CommandLine->new( ... ); $ipmsg->join; ...
Net::IPMessenger's sub class which adds console interface commands.
for my $val ( sort by_addr values %{ $self->user } ) { ... }
Subroutine for sort. sorts user by IP address.
Returns Data::Dumper-ed $self.
Sorts users by IP address and returns it.
Returns socket's peeraddr.
Clears all users and send broadcast ENTRY packet.
Sends broadcast EXIT packet.
Lists up users and returns it.
Shows message list which you've got.
Reads oldest message and deletes it.
Starts writing message to the target.
Adds message body to the message buffer. When only '.' line is input, sends message buffer to the target and clears message buffer.
Checks if you are actually writing a message.
Shows your information.
Shows help message.
Shortcut of join.
Shortcut of quit.
Shortcut of list.
Shortcut of messages.
Shortcut of read.
Shortcut of write.
Shortcut of info.
Shortcut of help.
To install Net::IPMessenger, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::IPMessenger
CPAN shell
perl -MCPAN -e shell install Net::IPMessenger
For more information on module installation, please visit the detailed CPAN module installation guide.