Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??

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":



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-25 06:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found