Subject: | User agent string contains uninterpolated $VERSION (fix suggested) |
On my minicapn repository apache server log I found lines like:
10.10.1.148 - - [03/Dec/2008:21:33:20 +1100] "GET
/minicpan/authors/id/I/IL/ILYAM/CHECKSUMS HTTP/1.1" 200 3455 "-"
"File::Fetch/$VERSION"
When looking at File/Fetch.pm line 31 it reads:
$USER_AGENT = 'File::Fetch/$VERSION';
I think it can be fixed by replacing it with:
$USER_AGENT = "File::Fetch/$VERSION";
or
$USER_AGENT = 'File::Fetch/' . $VERSION;
depending on your coding preferences.
Thanks.