http://qs321.pair.com?node_id=720915


in reply to I would love a Perl API to control...

Sure, you could type out

$car->park( in => 'garage' )

But you sound like Yoda! This is Perl! You can (almost) speak English!*

park $car in => 'garage'

*Yes, I know the issues with indirect method call syntax... but sometimes it's just more fun! Besides, if I had a car smart enough to park itself, I'd want it to understand spoken commands as well!

Replies are listed 'Best First'.
Re^2: I would love a Perl API to control...
by Gavin (Archbishop) on Nov 02, 2008 at 11:15 UTC

    And for those English speakers who don't speak Perl they can always

    "shout"

    park $car in => 'garage'