Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Filehandle woes

by count0 (Friar)
on Dec 11, 2001 at 01:07 UTC ( [id://130778]=note: print w/replies, xml ) Need Help??


in reply to Filehandle woes

Rather than ammend that post, it's probably easier just to comment on it...

I'm no longer confused about what the intentions were with $txt = <$fh>. It's clear that it was simply reading from the filehandle (don't you just hate mondays? ;)

Anyhow, my question still stands about the overall handling of the filehandles.... Specifically this:
<code> use Otherpackage;
socket(SOCK, ....); # ... is just a bunch of args
foo(SOCK);

package Otherpackage;
sub foo {
  my $fh = shift;
  #.....
}

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others studying the Monastery: (6)
As of 2024-04-19 14:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found