in reply to Re: *FOO{THING} syntax used on a lexical variable
in thread *FOO{THING} syntax used on a lexical variable

After the open, $fh is a reference to an IO handle (the thing that goes in the IO slot of a glob).
No, it's a GLOB ref.
  • Comment on Re^2: *FOO{THING} syntax used on a lexical variable

Replies are listed 'Best First'.
Re^3: *FOO{THING} syntax used on a lexical variable
by Anonymous Monk on Jun 12, 2005 at 14:54 UTC
    my $sc = <fh>;

    print $sc;
Re^3: *FOO{THING} syntax used on a lexical variable
by ysth (Canon) on Jun 13, 2005 at 03:42 UTC
    Er, yeah, well...so it is.