- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Filehandle Special Variables in Perl
There are various File Handle related Special Variables in Perl. We have listed them in different below in tabular form:
$| | If set to nonzero, forces an fflush(3) after every write or print on the currently selected output channel. |
$OUTPUT_AUTOFLUSH | |
$% | The current page number of the currently selected output channel. |
$FORMAT_PAGE_NUMBER | |
$= | The current page length (printable lines) of the currently selected output channel. Default is 60. |
$FORMAT_LINES_PER_PAGE | |
$- | The number of lines left on the page of the currently selected output channe |
$FORMAT_LINES_LEFT | |
$~ | The name of the current report format for the currently selected output channel. Default is the name of the filehandle. |
$FORMAT_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. |
$FORMAT_TOP_NAME |
- Related Articles
- Regular Expression Special Variables in Perl
- Perl Special Literals
- The $[ Special Variable in Perl
- Creating Variables in Perl
- Global Special Variable Types in Perl
- Perl Scalar Variables
- Perl Array Variables
- Perl Hash Variables
- Perl CGI Environment Variables
- State Variables via state() in Perl
- Private Variables in a Subroutine in Perl
- Comments in Perl
- Whitespaces in Perl
- Dereferencing in Perl
- "Here" Documents in Perl

Advertisements