in reply to Re^5: Why doesn't @ARGV work?
in thread Why doesn't @ARGV work?

My apologies to Anonymous Monk. I did know that these were OK. However, I did not respond to your question as I should have.

I knew that the assoc assignment was OK because the script did run, as evidenced by the erroneous output. I avoided the ftype question by specifically including the .pl extension in my test. And, in answer to your question, the value of assoc .pl was assigned as "Perl". ftype Perl was (at that time) not assigned a value.

But here is a related question. Does the symbol used in the assoc/ftype values appear anywhere else than these two commands? Specifically, does it matter whether the symbol used is "Perl" or "PerlScript" (or, for that matter, in lc or with caps)?

And finally, I should add that I have since installed Strawberry Perl on the newer of the two Win8 machines and all is well there. I have now done a full "recovery" on the older machine and have not yet reinstalled Perl there.

Replies are listed 'Best First'.
Re^7: Why doesn't @ARGV work?
by Anonymous Monk on Jul 20, 2014 at 02:20 UTC

    My apologies to .... I knew ... related quesiton ...

    Does the answer matter LloydRice ?

      I think I missed your point ("answers ... matter").

      It seems there is a third command line issue: the PATHEXT entry. Most installers handle the fourth, the PATH entry. But ".PL;" needs to be included in PATHEXT. And then there are the previously discussed ASSOC and FTYPE settings.

        I think I missed your point

        Ok, do you have a question that you need an answer for? A question that is important to answer? Are you still experiencing a problem that needs solving?

        This looks not important Does the symbol used in the assoc/ftype values appear anywhere else than these two commands?

        This looks not important Specifically, does it matter whether the symbol used is "Perl" or "PerlScript" (or, for that matter, in lc or with caps)?

        And now you say It seems there is a third command line is... ... which seems like equal parts vague and non-important