Notes on Code Translation to Perl - Maple Programming Help

Home : Support : Online Help : Programming : Code Generation Package : Perl : CodeGeneration/General/PerlDetails

Notes on Code Translation to Perl

 This help page describes details particular to code translation using the CodeGeneration[Perl] function. For general information applicable to all the functions in the CodeGeneration package, see CodeGeneration/Details.

Description

 • The Perl code generated by CodeGeneration[Perl] is valid for Perl 5 as defined by perl.org.
 • Generally, math functions recognized by CodeGeneration[Perl] are translated to functions in the Perl standard library.  Because this library does not have equivalents for inverse, hyperbolic, and inverse hyperbolic trigonometric functions, these are translated to equivalents from the Perl Math:Trig library.
 • Ranges of Maple lists and Arrays are adjusted so that the resulting Perl lists start with index 0.