Net::IPMessenger::MessageCommand

Net::IPMessenger::MessageCommand is a Perl module for message command definition and accessor class.
Download

Net::IPMessenger::MessageCommand Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Masanori Hara
  • Publisher web site:
  • http://search.cpan.org/~masanorih/Net-IPMessenger-0.06/lib/Net/IPMessenger/MessageCommand.pm

Net::IPMessenger::MessageCommand Tags


Net::IPMessenger::MessageCommand Description

Net::IPMessenger::MessageCommand is a Perl module for message command definition and accessor class. Net::IPMessenger::MessageCommand is a Perl module for message command definition and accessor class.SYNOPSIS use Net::IPMessenger::MessageCommand; my $command = Net::IPMessenger::MessageCommand->new('SENDMSG')->set_secret;This defines IP Messenger command and option flags. Also this gives you accessors of those option flags.METHODSOption flag accessors are provided via AUTOLOAD method. you can use get_*, set_* to access those option flags.new my $messagecommand = Net::IPMessenger::MessageCommand->new($command);Creates object and stores command. If command looks like number, just stores it. Otherwise, tries to convert it by using %COMMAND.mode my $mode = $messagecommand->mode;Returns command mode part.modename my $modename = $messagecommand->modename;Returns command modename.get_command my $command = $messagecommand->get_command;Just returns stored command value. Requirements: · Perl


Net::IPMessenger::MessageCommand Related Software