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.


In reply to Re^6: Why doesn't @ARGV work? by LloydRice
in thread Why doesn't @ARGV work? by LloydRice

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.