Name
read_until_dot
Synopsis
read_until_dot()
Reads data from the remote server until a line consisting of
a single .
is encountered. If
the line matches ..
, one of the
dots will be removed. Returns a reference to a list containing the
lines or undef
on
failure.
Get Perl in a Nutshell, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.