In CGI will be with you, always, I used the content of CGI.pm
to extract all four letter bits from it. I took care of
line endings using chomp. Still, on different
platforms, with the same version of CGI.pm,
I get different results.
Why is it that the same version of CGI.pm
is different on different platforms? For further checking:
|$CGI::VERSION||Perl -v||arch||OS Platform/version||MD5 hash|
|2.46||5.005_03||MSWin32-x86-object (ActiveState 522)||MS-Windows/4.10.1998,P||903d4ad8e2d17990437c999eef9490c3|
||MSWin32-x86-multi-thread (ActiveState 620)||MS-Windows/4.10.1998,P||355fc673032bedeb3cc0cb042738af22
Naturally, this calculus has problems, since line endings do vary
between Win32 and Unix... But still, there are differences. Why?
Update: So I am stupid. tye suggested to use diff,
which showed me the differences: some hardcoded globals, like
$TempFile::TMPDIRECTORY do change between OSes...
Tool used: perl -p0777MDigest::MD5=md5_hex -e '$_=md5_hex$_'
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
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:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, 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, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||