Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Awk and Perl unique features

by cdarke (Prior)
on Apr 16, 2010 at 07:57 UTC ( [id://835032]=note: print w/replies, xml ) Need Help??


in reply to Awk and Perl unique features

I shall try to play devil's advocate.

awk variables have no sigils, so the code appears cleaner - there are downsides to that, for example it cannot support interpolation (same problem with Python).
It's internal loop when reading text files is faster than using <ARGV>, however there is no significant difference when perl is used with -p (at least, not with the benchmarks I have run).
Awk's system footprint is smaller, so on overloaded systems it might perform better on simple tasks.

Having done quite a lot with awk in the past I can only suggest that we thank it for giving Larry the inspiration to write Perl, then move on.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://835032]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2026-03-16 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.