This is a discussion on Perl its - strengths within the Perl forums, part of the Software Development category; Pattern matching: Perl's greatest claim to fame has always been the tight integration of regular expressions into the base ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| Pattern matching: Perl's greatest claim to fame has always been the tight integration of regular expressions into the base language syntax. For most developers, perl was the first time they ever used a regular expression. As a result, perl has always been the go-to language for any task that involves pattern-matching input. A typical use of this capability is to scan an input stream for name/value pairs and split them. Another is parsing log files with a fixed but variable length format. It's not for nothing that a lot of the popular log file auditing packages are written in perl.
__________________ J Suresh Kumar Google Hacks ![]() |
| Sponsored Links |
| |||
| In-place editing: Combine regular expressions with the ability to edit files "in place" from the command line, and perl makes a dandy tool for performing a batch modification on a group of files For example suppose you have renamed the Code: /home/george directory to /home/curious, Code: # perl -i.bak -p -e "s#/home/george#/home/curious#" `find . -print`
__________________ A.Rajesh Khanna |
| |||
| A replacement for shell scripts: One of the worst things about shell scripting—whether in bash, sh or csh—is that the syntax of the scripts themselves is fairly hard to read. By using perl as a scripting language instead of a "traditional" shell, you can use much more C-like syntax without sacrificing functionality. Thanks |
| |||
| As a database manipulation tool: One of perl's strengths has always been the strong database interoperability through the DBI and DBD libraries. If you need to create a quick database report, or convert between a database and some other form of data storage, you can very easily whip up a little utility using perl in very short time.
__________________ J Suresh Kumar Google Hacks ![]() |
| |||
| As a cross-platform language: Because perl is interpreted, perl scripts don't need to be recompiled when moved from platform to platform. And because companies like ActiveState have produced strong ports of perl to platforms such as Windows, most perl programs will run without modification even if they do advanced things such as database connectivity, file system modification or network programming Thanks
__________________ Shaalini.S ![]() Be the Best of Whatever you are... |
![]() |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| what is perl? | inder | Perl | 1 | 10-16-2007 02:33 AM |
| Getting started with PERL | Murali | Perl | 2 | 08-20-2007 08:03 AM |
| How to create Tar using perl? | raj | Perl | 1 | 07-27-2007 02:20 AM |
| How to set Perl Interpreter within perl script | sivaramakrishnan | Perl | 1 | 07-19-2007 05:45 AM |
| Perl? | swoosh | Perl | 2 | 03-19-2007 03:31 AM |