Filehandle Special Variables

Most of these variables apply only when using formats. See Section 4.11 later in this chapter.

$|
$OUTPUT_AUTOFLUSH

If set to nonzero, forces an fflush(3) after every write or print on the currently selected output channel.

$%
$FORMAT_PAGE_NUMBER

The current page number of the currently selected output channel.

$=
$FORMAT_LINES_PER_PAGE

The current page length (printable lines) of the currently selected output channel. Default is 60.

$-
$FORMAT_LINES_LEFT

The number of lines left on the page of the currently selected output channel.

$~
$FORMAT_NAME

The name of the current report format for the currently selected output channel. Default is the name of the filehandle.

$^
$FORMAT_TOP_NAME

The name of the current top-of-page format for the currently selected output channel. Default is the name of the filehandle with _TOP appended.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.228.99