Arbortext Command Language > Functions by Alphabetical Listing > perlscript
  
perlscript
perlscript (expr[, window])
This function sends the string expr to the Microsoft Windows PerlScript interpreter to be evaluated, returning the result as a string. If the window parameter is not specified, the PerlScript expression is evaluated in the global PerlScript script context so previously defined PerlScript functions are accessible.
The optional window parameter is the identifier of a XUI dialog box that has a script context. If window is provided, the script executes in that dialog box’s script context.
This function requires that a PerlScript interpreter be installed.
Example:
name = perlscript('$Application->prompt("Name", "")')
* 
In the Microsoft Script Engine interfaces, “True” is represented by one (1) and “False” by zero (0).
Related Topics
javascript function
jscript function
vbscript function