Angerstein wrote:
...already searched cpan.

Has anybody an idea where I can get the Modul or Methode IO::Getline or
IO::Getlines

Are they only in Perl 5.8?
(I am using 5.0)

This appears to be a method(s) included as part of the IO::Handle module, which I believe became available around 5.6. What is the last digit(s) of your perl version, aka 5.000xx??

From perldoc IO::Handle:

"$io->getline

This works like <$io> described in "I/O Operators" in perlop except that it’s more readable and can be safely called in a list context but still returns just one line.

$io->getlines

This works like <$io> when called in a list context to read all the remaining lines in a file, except that it’s more readable. It will also croak() if accidentally called in a scalar context."

This is from a 5.8 install on RH 8.0.

http://danconia.org


--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to