http://qs321.pair.com?node_id=518696


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