WiringPi::API is exactly like that. It has both an Object Oriented interface, as well as a procedural interface, and both interfaces can be used at the same time, if desired.
In reply to Re^2: Can a Perl module "inspect" itself and provide details about methods and parameters?
by stevieb
in thread Can a Perl module "inspect" itself and provide details about methods and parameters?
by Br'er Rabbit
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |