perl-code

Description

A block of Perl code enclosed in braces. All XSH2 variables are transparently accessible from the Perl code as well.

For more information about embedded Perl code in XSH2, predefined functions etc., see Perl_shell.

xsh> $i={ "foo" };
xsh> perl { echo "$i-bar\n"; }# prints foo-bar
xsh> echo { "$i-bar" }# very much the same as above