PDA

View Full Version : Using Perl


sypher
07-31-03, 07:23
Hi,

Could anyone please tell me the benefits of Perl over Shell Scripts, AWK and SED? I am thinking of using it instead of these technologies, as it seems much faster from the small scripts I have written.

Thanks

S.

chillies
08-10-03, 16:00
With shell scripts, you will usually have to code your own solutions. perl has an extensive set of modules which may solve a problem you encounter. OTOH there may also be a number of beta modules which almost do what you want and you will have to select the most appropriate module. Check out http://www.cpan.org.

perl is portable across platforms and runs on windows as well as unix, though you may find that when using compiled binaries on different platforms the options that the interpreter was compiled are different.

Use the tool that's best for the job ...

Originally posted by sypher
Hi,

Could anyone please tell me the benefits of Perl over Shell Scripts, AWK and SED? I am thinking of using it instead of these technologies, as it seems much faster from the small scripts I have written.

Thanks

S.