Jeff Janes <jeff.janes@gmail.com> writes:
> On Thu, Mar 9, 2017 at 3:20 PM, Robert Haas <robertmhaas@gmail.com> wrote:
>
>> Committed. Hopefully this doesn't contain any Perl bits that are
>> sufficiently new as to cause problems for our older BF members ... I
>> guess we'll see.
>
> Bad luck there. I'm getting this error on CentOS6.8, perl v5.10.1
>
> Can't locate object method "input_line_number" via package "IO::Handle" at
[...]
> I think we can just save $. and use that, as in the attached.
Another option would have been to add an explicit 'use IO::Handle;',
which makes the OO interface available on filehandles on all versions
back to 5.8 (5.14 and newer do this automatically).
- ilmari
--
"I use RMS as a guide in the same way that a boat captain would usea lighthouse. It's good to know where it is, but
yougenerallydon't want to find yourself in the same spot." - Tollef Fog Heen