I think you've found it. My ActivePerl/PPM/Client.pm (AS build 1002) is slightly different:
39: unless ($arch) {
40: $arch = $Config{archname};
41: if ($] >= 5.008) {
42: my $vstring = sprintf "%vd", $^V;
43: $vstring =~ s/\.\d+$//;
44: $arch .= "-$vstring";
45: }
46: }
When I run the code that's inside that unless block it sets $arch to
MSWin32-x86-multi-thread-5.10 yet I get the same as you when I run the one liner you presented. And
$arch .= sprintf "-%vd", substr($^V, 0, 2) if $] >= 5.008; definitely appends
-118.53 to $arch.
But how come the difference betwen my PPM installation and your PPM installation ? (This should probably be raised on the PPM mailing list. I'm subscribed to that list but I don't recall seeing anything like this reported.)
Cheers,
Rob
UPDATE: I've just unzipped ActivePerl-5.10.0.1002-MSWin32-x86-283697.zip to make sure that my Client.pm is the same as the Client.pm that ships with that source - and it is. It's therefore rather baffling that some others end up with a dfferent version of Client.pm when they install build 1002.
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.