Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
- 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 |
Advertisements