B~but Perl syntax is ugly and like... Hard to learn

B~but Perl syntax is ugly and like... Hard to learn...

IT'S A DEAD LANGUAGE! I~I'M NOT A BRAINLET FOR FINDING IT HARD! You tho... N~nice b8, haha...

I sorta miss Perl, it was comfy. Why did they have to ruin everything with the Perl 6 train wreck? Jealous of GNU Hurd?

kurwa bigos chuj

>>>/wykop/

I think Perl is still the best for quick hacks and unix scripts or couple hundred lines at most. Especially sorting, chopping, text manipulation stuff. Python will always have the upper hand on larger programming projects though.

It is dead though. Only 3000 Perl jobs on indeed, but like 20,000 for python. Perl is legacy now

...

Not played fair. Backslashes in Python example are reduntant.

perl -e 'print "perl ftw\n" x10;'

Perl >>>>>>>>> Python when it comes to oneliners.

perl -e is so much cleaner than python -c or echo -e | python -

If it can't be done with grep, then it shouldn't be a one liner.

ruby -e 'print "ruby ftw\n" * 10'

python does the exact same thing with a shorter invocation, and none of that semicolon nonsense. just look:
python -c "print 'obv b8\n' *10"

How do I learn awk

>perl6
f-ck you

When you gonna process hypertext, there is something called hypertext processor for it... I just don't get your "alternatives"

Because in both langluages you used that line at some point and got money for it for sure.

>grep awk or sed
ftfy

This.

How do I connect to database with AWK?

|


How is this any better than something that...

...

...

Is it necessary to do the if name main thing?

no, but it makes the code more portable.
testing for __main__ tests if the python script is called directly or via another python script, so you can reuse code.

the king has arrived