CPAN has a ton of very useful libraries. Outside of porting them to Objective-C, is there is method to embed perl code in Objective-C on iOS? I am particularly interested in using Spreadsheet::Read to read Excel file data (and no, I don't want to force users to re-save their files as CSV).
Have you read perldoc perlembed, which documents how to embed perl in a C program?
Run the perl script with NSTask().
来源:https://stackoverflow.com/questions/5533289/using-perl-within-objective-c