Next: Scratchpad, Previous: Evaluation, Up: Interactive Perl
Sepia contains several functions to operate on regions of text using the interactive Perl process. These functions can be used like standard one-liners (e.g. `perl -pe ...'), with the advantage that all of the functions and variables in the interactive session are available.
$_
bound to
the line text, collecting the resulting values of $_
. With a
prefix argument, replace the region with the result.
$_
bound to the entire region,
collecting the final value of $_
. With a prefix argument,
replace the region.