|
|
|
|
|
by kazinator
2928 days ago
|
|
> Perl was basically written because Larry Wall found Awk's syntax to be a little too cryptic. That seems ridiculous; where is it substantiated? When Wall posted Perl to comp.sources.unix for the first time, he wrote "If you have a problem that would ordinarily use sed or awk or sh, but it exceeds their capabilities or must run a little faster, and you don't want to write the silly thing in C, then perl may be for you." Or rather, not Larry Wall, but the apparent newsgroup moderator added that text, lifting it from the Perl manual page. Thus he was pitching it as something that performs faster than awk and sed, with a greater range of capabilities. |
|
> News was maintained in separate files on a master machine, with lots of cross references between files. Larry's first thought was "Let's use awk." Unfortunately, awk couldn't handle opening and closing of multiple files based on information in the files. Larry didn't want to have to code a special-purpose tool. As a result, a new language was born.
So that's why it's the Practical Extraction and Reporting Language. He wanted to extract data from files and generate reports.