Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Temp file handles refcount bug?

by ikegami (Pope)
on Mar 14, 2011 at 20:39 UTC ( #893147=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $fh = IV(0x933914c) at 0x9339150
      REFCNT = 1
    ...
          FILE = "/home/eric/usr/perlbrew/perls/perl-5.12.2/lib/5.12.2/Fil
    +e/Temp.pm"
          FLAGS = 0x0
          EGV = 0x938abe8   "$fh"
    
  2. or download this
    {
       my $fhWrapper = Symbol::gensym;
       tie(local *$fhWrapper, 'MyWrapper', $fhWrapper, $fh);
       ...
    }
    

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-10-20 07:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (79 votes). Check out past polls.

    Notices?