single_command.pl 204 B

123456789
  1. #!/usr/bin/perl
  2. require ESL;
  3. my $command = shift;
  4. my $args = join(" ", @ARGV);
  5. my $con = new ESL::ESLconnection("localhost", "8021", "ClueCon");
  6. my $e = $con->api($command, $args);
  7. print $e->getBody();