Mac::Glue Feature Addition

| | Comments (0)

One of the features I never got around to in Mac::Glue was explicit support for "tell"ing an object.

In AppleScript, you normally do a tell app "Foo" to open something, and in Mac::Glue it's $foo->open($something). Similarly, you can in AppleScript do tell app "Foo" to tell something to do_something. In Mac::Glue there's no real analogue to this. Sometimes you can do $something->do_something(), but sometimes you can't.

So I've got some basic support for a $something->tell->do_something(). It seems to be working well, but I need some more testing and cleanup. And then my first CPAN release in ... a few years now, I guess.

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on May 24, 2012 7:42 AM.

Soccer vs. Rugby was the previous entry in this site.

Democrats Blew Up Spending is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.