I've not used IO::All at all, but, some things to try.. print that $temp_file with Data::Dumper, and see what it contains (Im guessing undef, or some value thats supposed to be the filehandle thats undef).
$VAR1 = bless( \*Symbol::GEN0, 'IO::All::Temp' );
Try setting PERLDB_OPTS='NonStop frame=1 AutoTrace LineInfo=tperl.out' (as an environment variable), and running it using perl -d (then read the resulting tperl.out) ?
This was pretty cool to see. Thanks for the idea! I've never played much with Perl's debugging features, but it's cool to see the extensive support provided. However, the output is difficult to comprehend. It would probably be easier to follow if I was familiar with the source of IO::All; especially if I knew why and when each sub was executed.
Also, you didn't mention what system/perl/IO::All versions you're using..
$ uname -a Linux mikey.emperorlinux.com 2.4.24-emp_2424sw #1 Fri Feb 20 17:56:50 +EST 2004 i686 i686 i386 GNU/Linux $ perl -v This is perl, v5.8.3 built for i386-linux-thread-multi $ perldoc -m IO::All | grep VERSION our $VERSION = '0.31';
(snipped for brevity)

---
"A Jedi uses the Force for knowledge and defense, never for attack."

In reply to Re^2: IO::All and temporary files by meonkeys
in thread IO::All and temporary files by meonkeys

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.