I started playing with PERL over 13 years ago; I saw it as a wonderful language that made easy things easy, and hard things possible.

To date, I fear using CPAN because of past experience having to go through tens of minutes of questions in command line before I hopefully can get to entering command lines, at which point it tells me my MinGW ran out of memory, and I can't use it on this particular system.

So I fear that if I do use CPAN, if I choose to use it for a school project, or give it to a friend, they simply won't be able to or won't be willing to get the modules needed to use the scripts I write.

Then, roughly 3 years ago, I tried NPM and NodeJS and the first thing I thought was: this... is just Perl in different clothing:

Everything just worked, with very rare module not working being easy to ask for feedback on Github.

So I come here to ask a few questions.

1. Why isn't there an NPM for Perl?

2. Why is JSON so popular if Perl already had the same concepts long before JS existed.

How is {foo: 1, bar: {}, gaz: []} any different than {foo => 1, bar => {}, gaz => []}?

I understand lisp had similar concepts, but lisp didn't actually integrate dictionaries into their language to the same level as lists.

3. Why is there so few Perl versions for windows, while there are SO MANY JavaScript versions for Windows(every browser, JScript, nashorn for java, NodeJS)?


In reply to why isn't cpan like npm? by CodeDmitry

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.