LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] When to use Perl

[ILUG] When to use Perl

Harry Moreau hmoreau at digiserve.ie
Tue Jul 31 14:19:18 IST 2001


On 31 Jul, Dale Dunlea wrote:

> I'm planning to write some code to parse a fairly large (and quite
> poorly structured) text file[1] and then do *very* fancy things with it
> and then output and optimised version of the text file. So my question
> is, should I learn perl and do it that way or should I soldier along
> with C?

Definitely not with C/C++.  While fast, it's just too difficult to parse text
in a bug free manner.

As an alternative to perl, you might consider tcl or python, which are IMO much easier to learn than
perl.

Both have much more regular syntax than perl and are either intrinsically or extensionally object
oriented; python intrinsically and tcl with the [incr tcl] extension.  Furthermore both python and
tcl are very easy to extend with new functionality implemented in C/C++, because they were designed
to be embedded languages.

-- 
--Harry Moreau----------------





More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell