I got 2.4.6 for PDL version and I was able to use perldl shell

It would still be a good idea to check on the implications of that final error you got (on the PDL maiking list) .... unless someone here provides advice about that.

Do you have any suggestion on how I can fix my CPAN

I haven't been able to get my head around what's going on there, and I don't know much about the CPAN shell anyway.
As an alternative to actually entering into the CPAN shell, you could just run cpan -i module but I expect that will give you the same results. See if you can work out which perl your cpan shell is attached to - if your version of CPAN allows it, do a force install of Astro::FITS::Header (cpan -fi Astro::FITS::Header) and take note of the paths into which it installs.
Remove ActivePerl from the system path, then open a fresh Cygwin bash shell and see if that makes any difference.

Then, if you still have issues with the CPAN shell, I'd start a fresh thread here about that. (But the more information you can provide about precisely what's going wrong, the better our chances of solving it.)

Cheers,
Rob

In reply to Re^13: PDL installation by syphilis
in thread PDL installation by mili3431

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.