in reply to -l file test operator

..says error..

What error? Copy/paste the exact message.

How (Not) To Ask A Question

Replies are listed 'Best First'.
Re^2: -l file test operator
by ikegami (Patriarch) on Aug 20, 2009 at 06:35 UTC
    The error message is "Use of -l on filehandle $fh". It's a non-fatal error (aka warning). -l $fh returns undef with $! set to "Inappropriate ioctl for device" on Linux.
      oh ikegami, abubacker is supposed to respond, so he can get in the habit ...