in reply to Re: Indirected Japh
in thread Indirect Japh

Well, almost. STDERR is a filehandle, so direct method invocation syntax is not available to STDERR. While the print FILEHANDLE syntax looks like indirect object syntax, it is really just its own special case. Filehandles are not blessed object references (excepting IO::Handle objects), so you cannot invoke any methods on them.

Replies are listed 'Best First'.
Re^3: Indirected Japh
by runrig (Abbot) on Sep 05, 2004 at 00:16 UTC
    ...direct method invocation syntax is not available to STDERR.

    This works for me:

    use IO::Handle; STDERR->print("Hello world\n");
      Which is why I said:
      ... (excepting IO::Handle objects)