SM::Client - Client entity in the supermarket
use SM::Client; my $client = SM::Client->new;
This class implements the client entity in the supermarket problem space. Every client has an ID which is guaranteed to be unique in the whole application.
$obj->new()
Client instance constructor.
$id = $obj->id()
Read the client's ID.
Agent Zhang <agentzh@gmail.com>
Copyright 2006 by Agent Zhang. All rights reserved.
This library is free software; you can modify and/or modify it under the same terms as Perl itself.
SM, SM::Server, SM::Simulator.
To install Sim, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Sim
CPAN shell
perl -MCPAN -e shell install Sim
For more information on module installation, please visit the detailed CPAN module installation guide.