David Alexander wrote:

> Robin already has an open problem ticket on this from last March, and
> I conversed with him about just a week ago.  Tiger comes with Perl
> 5.6.  Perl 5.7 introduced some changes to the File::Temp module that
> Robin's script makes use of.  Leopard comes with Perl 5.8.
> 
> Robin put out the word that he want's to resolve the situation by
> declaring Perl 5.7 or above as a pre-requisite for using the script.
> Nobody objected that I saw.
> 
> Therefore, it will not work as-is on Tiger.
> 
> However, I was able to get it working by changing two lines:
> 
> old:
> use File::Temp qw/ cleanup /;
> new:
> use File::Temp;
> 
> old:
>              $tmpfh->unlink_on_destroy(0);
> new:
>              # $tmpfh->unlink_on_destroy(0);
>
> I have to admit I'm not 100% positive about the effects of commenting
> out the second line even after reading the documentation for the
> File::Temp module.  It wasn't clear to me if the older Perl would
> behave differently because the function, and therefore documentation,
> didn't exist in the older version.  However, I did convert hundreds of
> FLAC files last week with no apparent ill effect.

Another approach, which I have suggested to Shareef is to install the
latest File::Temp manually from CPAN (perl -MCPAN -e 'install
File::Temp'). This seems to resolve the issue but Shareef reported
another problem, which I'm not sure is related or not.

I will help wherever I can to resolve this but unfortunately I have no
OS X box on which to do any testing so I'm not in a position to offer
full support.

R.

_______________________________________________
ripping mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/ripping

Reply via email to