Directly on the device itself, probably not. However you can certainly use perl to develop a web-based application tuned for an iPod/Phone (see Apple's docs for more info).
The cake is a lie.
The cake is a lie.
The cake is a lie.
| [reply] |
As far as I know, Apple has forbade all interpreters or programming languages for the iPhone, so the answer is "no, not through Apple".
| [reply] |
If you're willing to jailbreak your Iphone, I believe this is possible. Take a look at this site which offers a perl 5.10.0 compiled and packaged for the Iphone 3G. It also requires you to have apt-get installed (is that standard for Iphones these days? update: which apparently you get by installing Cydia) and a few other prerequisites, but it should be possible to get it running.
Also, I believe(I don't own an Iphone, never will), it should be possible to compile your own perl on a jailbroken Iphone. The author of the above packages gives some hints on how to compile apps on an Iphone here.
| [reply] [d/l] |
I've used Perl to turn a CSV file into a .plist (which the iPhone can load much more easily). So, sure. You won't be programming on the iPhone in it (unless, as mentioned, you jailbreak your phone), but honestly you probably don't want to.
The support for hooking into the iPhone OS is not going to be there in Perl, and putting it together will use up cycles that you;d be better off investing in learning Objective-C and Cocoa Touch.
I'd point out that there are several applications I know of that do use interpreters behind the scenes - Rjdj uses the Pure Data music programming language, and the Smule guys use a built-for-the-iPhone port of ChucK (another music language) for their software.
So it's not Thou Shalt Not Use Interpreters, it's Thou Shalt Not Ship A Product That Lets People Do Whatever Random Programming They Want On The Phone. | [reply] |