ArborX


perl

Longname: perl   Open the Documentation Legend
Released: 7.80 
Created: 7.80 
See also: var attr stream mini getvar indirect (n/a) expr show xpath attrloop tokloop measure xpointer fs fish fishloop prop propval length lookup resolve string rgb rgb_r rgb_g rgb_b cmyk cmyk_c cmyk_m cmyk cmyk_k hsb hsb_h hsb_s hsb_b lump_expand hash taginfo format_num format_seq css char Technote: 0080

Summary
A keyword used with function variables: ^[funcname parameter(s)]. This syntax can be used anywhere that a regular 3B2 variable can be used: in show strings, in scripts, in expressions, etc. Function variables are a V8 feature that uniforms variable use and functions into a readable syntax.
Example extract

The following show string will display the current value of the th command (text height).

 <?show ^[prop th]?>

Syntax (7.80)
perl expr:t
expr:t

Any valid perl expression/string.

^[perl perl_code] evaluate a perl expression, in this case a search and replace within the variable 'name_value'.

 <?show $^[perl $name_value=~s/ä/a/g;]>

Document created on 10-Nov-2004 (revision 1)