ingydotnet / io-all-pm

All in One Perl IO
http://search.cpan.org/dist/IO-All/
38 stars 20 forks source link

Supplemental documentation for the chomp method #51

Closed nheinric closed 10 years ago

nheinric commented 10 years ago

Just a trivial doco change, but please let me know if I should put this into a branch prior to submitting a pull request.

$ printf "hello\nthere\n\nreader" | perl -MIO::All -E'$io = io("-")->chomp; while ( $line = $io->getline ) { print $line; } say;'
hellothere
$
ingydotnet commented 10 years ago

Applied,released,thanks!

I reformatted the swim a bit, and also ran make doc to update the ReadMe.pod.