Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: *FOO{THING} syntax used on a lexical variable

by nobull (Friar)
on Jun 12, 2005 at 12:44 UTC ( [id://465943]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://465943]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2024-04-25 03:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found