Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
I think, part of what really makes any scripting language great is what it can be used for and the number of computers it can run on.

I think, the language that comes closes to Perl is JavaScript. JavaScript can run inside any computer browser even in cell phones, which is why it is such a popular language. But it is used for client-side scripting mostly. In Windows, some HP printer setup programs are written entirely in JavaScript, which is very cool. But these scripts will only work on Windows!

The JavaScript that runs in a web browser vs the one that installs HP printer drivers run on different levels. The latter one requires administrator privilege to run. The former one is not even allowed to access files on the user's hard drive! So, JavaScript is very limited in a sense. When working with binary files, Perl can easily read just the first 512 bytes of a 5gb iso file. JavaScript cannot do that. It would try to read the entire file first, and there's nothing you can do to go around that. lol

Perl can be used on the web and so can JavaScript be used on the web. But Perl can run on Windows, but a JS script won't run on Linux!

In reply to Re^2: Curious about Perl's strengths in 2018 by harangzsolt33
in thread Curious about Perl's strengths in 2018 by Crosis

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 or How to display code and escape characters are good places to start.
Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (3)
As of 2022-05-25 20:12 GMT
Find Nodes?
    Voting Booth?
    Do you prefer to work remotely?

    Results (90 votes). Check out past polls.