Bug#706749: perldoc: Minor bug in fileno example

2013-06-08 Thread Dominic Hargreaves
Control: tags -1 +fixed-upstream On Sat, May 04, 2013 at 11:07:16AM +0200, Niels Thykier wrote: > I believe a more accurate example (although a bit more verbose) would > be: > > """ > if (fileno(THIS) != -1 && fileno(THIS) == fileno(THAT)) { > print "THIS and THAT are dups\n"; >

Bug#706749: perldoc: Minor bug in fileno example

2013-05-04 Thread Niels Thykier
Package: perl Version: 5.14.2-21 Severity: minor perldoc -f fileno """ fileno FILEHANDLE [...] If there is no real file descriptor at the OS level, as can happen with filehandles connected to memory objects via "open" with a reference for the third argument, -1 is returned. [...] You can use