Copyright © tutorialspoint.com
Syntax
Definition and UsageReads a line from the filehandle referred to by EXPR, returning the result. If you want to use a FILEHANDLE directly, it must be passed as a typeglob. Simply readline function is equvivalent to <>. Return Value
ExampleTry out following example:
It will produce following results:
|
Copyright © tutorialspoint.com