Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re^9: Spot the bug

by eric256 (Parson)
on Dec 23, 2005 at 04:25 UTC ( #518696=note: print w/replies, xml ) Need Help??


in reply to Re^8: Spot the bug
in thread Spot the bug

You missed the point. If you have two subs that open file handles on a the same file they don't need to worry about each other. If however you have two subs that 'open' an each on the same hash, you are in serious trouble. I couldn't realy quoute you numbers on the use of either, but filehandles are certainly very different than each.


___________
Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;

Replies are listed 'Best First'.
Re^10: Spot the bug
by Perl Mouse (Chaplain) on Dec 23, 2005 at 07:43 UTC
    No, I'm not missing the point. Unlike you, I was talking about filehandles, not files. Sure, you can open more than one handle on a file, but filehandles are used for more than files. Sockets and STDIN for instance.
    Perl --((8:>*

      Unlike you, I was talking about filehandles, not files.

      Well, you are playing semantic games. If you mean streams or sockets then talk about streams or sockets.

      ---
      $world=~s/war/peace/g

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2021-03-04 13:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (104 votes). Check out past polls.

    Notices?