Changeset 14203 for lang/perl/App-Nakanobu
- Timestamp:
- 06/18/08 16:21:26 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/App-Nakanobu/trunk/tools/jsonrpc-client.pl
r14195 r14203 5 5 my $uri = 'http://localhost:5555/'; 6 6 my $method = 'privmsg'; 7 my @params = ('#nakanobu', 'lovely');7 my $params = {channel => '#nakanobu', text => 'lovely'}; 8 8 9 9 my $client = JSON::RPC::Client->new; 10 my $res = $client->call($uri, { method => $method, params => \@params } );10 my $res = $client->call($uri, { method => $method, params => $params } ); 11 11 if ($res) { 12 12 if ($res->is_error) {
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)