I also tested it with IO::Socket::INET filehandles and it works for those.#!/usr/bin/perl -w use strict; use IO::Scalar; my $str; tie *TMP, 'IO::Scalar', \$str; print TMP "Hello, World!\n"; print "Not a FH\n" unless defined eval {fileno \*TMP};
--
John.
In reply to Re: Determining indirect filehandles
by jmcnamara
in thread Determining indirect filehandles
by Masem
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |