Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: I would love a Perl API to control...

by Hercynium (Hermit)
on Nov 02, 2008 at 02:41 UTC ( #720915=note: print w/ replies, xml ) Need Help??


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!


Comment on Re: I would love a Perl API to control...
Select or Download Code
Re^2: I would love a Perl API to control...
by Gavin (Chancellor) 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'

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://720915]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (9)
As of 2015-07-07 13:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls