PokyJoe has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

We just switched from perl 5.8.1 to perl 5.8.6.
Along the way we updated File::Temp from 0.14 to 0.15

Now I've got funny messages going to the console.
Anybody seen this? Where is the "Chose Path:" coming from...

#!/usr/bin/perl use strict; use warnings; use File::Temp; for (0..5) { my $tmp = new File::Temp(DIR => './', SUFFIX => '.scr'); print $tmp "some script command\n"; } exit;

Output:
Chose path: ./R0JICxKMSk.scr
Chose path: ./ceE3GS5TGC.scr
Chose path: ./wlHNlZGMV8.scr
Chose path: ./TjZgPrgG5r.scr
Chose path: ./nZqgQkNBT3.scr
Chose path: ./HAm6dOF2k9.scr

Thanks,
Pokyjoe

Replies are listed 'Best First'.
Re: Chose path:
by chas (Priest) on Feb 28, 2005 at 22:35 UTC
    If you search Temp.pm, you will find a line:
    print "Chose path: $path\n";
    I suppose you could try commenting that out; I haven't tried...
    (Version 16 doesn't seem to have that.)
    chas
Re: Chose path:
by rg0now (Chaplain) on Mar 01, 2005 at 16:36 UTC
    You should upgrade to version 0.16 to avoid that warning. Here is an excerpt from the ChangeLog:
    2005-02-22 Tim Jenness <timj@jach.hawaii.edu> --- RELEASE V0.16 --- * Temp.pm: Remove spurious debug statement

    rg0now