Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Perl Programming/Keywords/readline

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

Perl readdir readlink Keywords The readline keyword readline is a function that reads from the filehandle whose typeglob is contained in EXPRESSION. Without a parametre, it reads from *ARGV. If called in scalar context, it reads the file line-by-line until end-of-file is reached. After this, the function returns undef. If called in list context, it reads till end-of-file and returns a list of lines. (The definition of a line is given by $/ or $INPUT_RECORD_SEPARATOR). Syntax read EXPRESSION read Perl readdir readlink Keywords