Hi David,
Thanks for replying. I tried what you said and when I typed "look PDL" it gave me this error:
" Your configuration does not define a value for subshells.
Please define it with "o conf shell <your shell>" "
Also, I removed Dev-Cpp from my PATH and tried to install PDL again, but it still gave me the same error. When I read the error more carefully this time, it also said that my version of Perl was compiled by gcc.exe and it said that it located this file in my computer. I found out that this file is in Dev-Cpp\bin folder. Maybe that's why it is using Dev-Cpp version of make?
Thanks for your help
Milad