[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]
Re: getting dirhandles and formats from *foo
Jeff Pinyan writes:
>
> >I always used defined(fileno(FH))
>
> I used that too, but I wasn't sure what would happen when you CLOSE the
> filehandle. It shouldn't have a fileno, should it?
perl5.005_63->perl -wle 'open F, "cflags" or die; close F; print fileno F'
Use of uninitialized value at -e line 1.
Ilya
- References to:
-
Jeff Pinyan <jeffp@crusoe.net>
[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]