iBooks Author almost hints at support for Perl Scripts
I tried opening a Perl script today using LaunchBar. As I have many code editors installed, it prompted me with a list of all available editors that are capable of handling *.pl files (Perl scripts). I was surprised to see that iBooks Author was now included:
I had read that iBooks Author supports Javascript (in addition to HTML) and initially I was excited that you might be able to embed Perl scripts in this new iBooks format. But alas no:
So I'm not sure why *.pl scripts are being associated with iBooks Author if it can't open them. You don't see this association of Perl scripts with Pages or Keynote, so there must be something in iBooks Author which is making the Finder associate *.pl scripts with the application.
Update: 23/1/2012 12:00 pm
It turns out that if you make any empty file that has a file suffix of various popular programming languages (*.c, *.py, *.java) then iBooks Author will appear in the list of suitable editors. So there must be some system-wide framework that recognizes 'file suffixes that belong to programming languages' and this is turned on in iBooks Author.
This made me think that as *.html files may be part of the same set of file suffixes that count as programming languages (iBooks Author supports embedded HTML) but I made a small HTML file and this didn't appear in the list of files that iBooks Author might recognize.

