Greg McCarroll > Device-USB-MissileLauncher-0.01 > Device::USB::MissileLauncher

Download:
Device-USB-MissileLauncher-0.01.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View Bugs
Report a bug
Module Version: 0.01   Source   Latest Release: Device-USB-MissileLauncher-0.03

NAME ^

Device::USB::MissileLauncher - interface to toy USB missile launchers

SYNOPSIS ^

  use Device::USB::MissileLauncher;
  my $ml = Device::USB::MissileLauncher->new();
  $ml->do('left');
  $ml->do('up');
  $ml->do('fire');

DESCRIPTION ^

This implements a basic interface to the toy USB missile launchers that were on sale in Marks and Spencers Christmas 2005 and later at 'I want one of those'.

It has two methods - new() and do(). do() takes a string out of the following list.

  stop
  left
  right
  up
  down
  leftup
  rightup
  leftdown
  rightdown
  fire

AUTHOR ^

Greg McCarroll <greg@mccarroll.org.uk>

COPYRIGHT ^

Copyright 2006 Greg McCarroll. All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

Device::USB