943,545 Members | Top Members by Rank

Ad:
  • Perl Discussion Thread
  • Unsolved
  • Views: 1614
  • Perl RSS
Sep 16th, 2006
0

About PERL in general:

Expand Post »
Actually, i was thinking of starting up my PERL training. So I'd like to know this: what are it's most common uses? How efficient is it compared to C++? What are the strengths and weaknesses? (This is kind of a repeat of what I said in the Python forum)
Similar Threads
Reputation Points: 46
Solved Threads: 2
Posting Whiz in Training
FireSBurnsmuP is offline Offline
237 posts
since Sep 2006
Sep 17th, 2006
1

Re: About PERL in general:

It's a very powerful language for text and data processing. It's a higher-level language than C++, so it allows you to work on doing stuff with the information rather than doing stuff with the data type.

Perl is interpreted, so it's bound to be less efficient than C++. That's not to say it can't be compiled, it just usually isn't.

One of the things that Perl offers is the idea that "There's more than One way to do it." I consider it both a strength and weakness. It's really a higher level language than C++ so as stated above you're not doing things TO the data TYPE you're doing thing with the data.

For the record, I'm new to Perl, and have just finished reading the first chapter of the Camel book.
Reputation Points: 23
Solved Threads: 23
Posting Pro in Training
Puckdropper is offline Offline
494 posts
since Jul 2004
Sep 18th, 2006
0

Re: About PERL in general:

All that puckdropper said.

Plus short time to implementation.

I was happy with Korn Shell and sed, having abandonded awk for that combination long before.

Then I began needing IPC and got into the world of perl mods.

If you don't need a GUI (it's there in a couple of forms but meh!) and you are not serving thousands of asynchronous tasks this might be the way to go.

One of the most impressive capabilities is the ability to use regular expressions with assignment operators to load arrays, hashes and nested combinations of those two in flexible contol loops.

There are many ways to do IO in perl. And opening pipes to external processes is far superior to Korn Shell's coprocess facility.
sut
Reputation Points: 20
Solved Threads: 1
Light Poster
sut is offline Offline
30 posts
since Sep 2006
Sep 27th, 2006
0

Re: About PERL in general:

I'm going to agree strongly with both of the above... very good language for limited access web usage, great for data stream forks (sifting for useful data using reg expressions), bad for M$ folks - they just don't get it!

From my experience as an edjucator, people with strong C, shell and or unix backgrounds pick it up quickly, others tend to go bald.
Reputation Points: 10
Solved Threads: 0
Newbie Poster
vonfeldt is offline Offline
8 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Perl Forum Timeline: execute exe from web server
Next Thread in Perl Forum Timeline: I can execute Javascript into Perl?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC