Subject: | Documentation Error in IO::Overview Code Example |
This line is from the code example for sub grep_it:
return wantarray ? @found_lines : shift @found_lines;
s/shift/scalar;
You want the count of elements, not the first element.
This queue is for tickets about the IO-Capture CPAN distribution.
The Basics
People
|
Bug Information
|