Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

comment on

( [id://3333]=superdoc: print w/replies, xml ) Need Help??
- ready interface to unix system services
Java 5 has a bit more sophisticated process management, but nothing directly related to unix.
- Open3 to control input and output between existing utility programs
You have this via the Runtime and Process objects.
- CPAN
It depends on how you look at CPAN. CPAN as something that provides API to basic needs? Java does it as well. More complex systems and these super algorithms and language changing modules, like WWW:Mechanize, Algorithm::Loops and pugs, no, java doesn't have it.
- associative arrays
Map object.
- scoped untyped variables
You can do some scoping, but not untyped.
- flexible choice of procedural versus OO (ksh is only procedural)
You can do non-oo in java, regardless of what the nay-sayers say. Just define all of your methods as static. You still have to refer to them as say ClassName.myStaticProc(...).
- perl -d (debugger - no such thing for ksh)
jdb
- perl's regexp engine is better than awk/sed's without needing to shell out
jakarta oro can do about anything perl5's regexp's can do, except commenting, execution of code w/i a regexp.
- perl's hashes are more flexible and scopable than formula engine's (Formula Engine provides only a single global hash).
dunno what this is
- perl can communicate more effectively with background processes.
In what way? You can kill, get the status of and read/write from background processes. Fork 'em off and what not.

In reply to Re: A Perl vs. Java fight brews by exussum0
in thread A Perl vs. Java fight brews by Moron

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 learning in the Monastery: (5)
As of 2024-04-19 23:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found