On Sat, 08 Mar 2003 22:28:09 -0500, Scott R. Godin wrote: Hi Scott
>I've written a very nice module-reporting script that helps me to >stay on >top of installed modules and easily see when they require updates >from CPAN >for bugfixes. > >http://www.webdragon.net/mr/ Great program! I made a small change to get it working under MS Windows: --- modulereport.pl Sun Mar 23 18:57:36 2003 +++ \scripts\bin\modulereport.pl Sun Mar 23 18:57:32 2003 @@ -46,9 +46,8 @@ ); my $storefile = File::Spec->catfile( - File::Spec->rootdir(), - 'tmp', - "$ENV{USER}_modules.stor" + $ENV{'TEMP'}, + "perl_modules.stor" ); In other words: o I don't have $USER defined o I don't have /tmp o File::Spec -> rootdir() leads to /C:/tmp/..., which doesn't work -- Cheers Ron Savage, [EMAIL PROTECTED] on 23/03/2003 http://savage.net.au/index.html
