Why shouldn't I learn perl?
because it's literally the hackers php.
Now you can be retarded normal fag and use your php or you could use something that actually doesn't suck by design.
>>58423461
PHP doesn't suck by design you Java fag.
Is there better ones? Yes. But using the new PHP7 is awesome. Especially using a framework like laravel.
>>58423315
You should learn it. Why be a php fagg when you can be different. And its quite powerful.
>>58423315
Because Nim exists.
>>58423315
perl has a dying community because of python and ruby cucks. otherwise it's a good language and has niche use.
>>58423495
>Only when using a slow framework like laravel.
ftfy
>>58423584
>and has niche use
What niche?
Languages work best when they allow you to be straightforward 99% of the time, and then to be clever that 1% of the time that you need it most. Perl forces you to be clever for damn near every line of code that you right, and while it may make you FEEL smart in the short term, in the long term you're going to spend more time fucking around with Perl's quirks than getting useful work done. The world has moved on from Perl, and so should you.
>>58424685
this, even loading a filel into a string correctly is a PITA
/thread
>>58423315
Perl is deprecated
>>58424685
> Perl forces you to be clever
TMTOWTDI
Perl is the favorite of one-liner assholes, the syntax itself is actually incredibly natural and one the main purpose of its design. Both Python and Ruby are based on its exact syntax.
That being said the only reason to learn Perl is for legacy development and fancier bash scripts. Perl 6 isn't backwards compatible so the language has effectively been killed.
>>58424712
Are you retarded?open(FILE, 'index.html') or die "Can't read file\n";
my $file = <FILE>;
close(FILE);
>>58424676
Writing write-only programs.
>>58424724
>Are you retarded?
No you are. Chances are you just fucked up encoding and other details.
>inb4 slurp
that is also fucked http://blogs.perl.org/users/leon_timmermans/2015/08/fileslurp-is-broken-and-wrong.html
>>58424811
>Chances are you just fucked up encoding and other details.
Use it every day. If you want to open a file using UTF8 or even UTF16 you just enter it as a parameter into the open method.
>blog post as evidence
k
>>58424860
>blog post
Better source than
>Use it every day.
from a 4channer
>>58423315
It's deprecated.
>>58423495
>PHP is better than Java
$0.02 has been deposited in your account
>>58423461
>>58423495
>>58424503
>PHP ever
>>58423315
Perl is fun and pretty cool. Too many people learn "what everybody learns". Perl is kinda old school, but it's still pretty awesome. So make a tutorial and if you want to learn it, go for it.
But if you are not sure what you want to learn, take also a look into Ruby. It's pretty much a mixture of Python and Perl - the creator of Ruby once said that the creator of Perl is "his hero akshually". Ruby it's not as rigid as Python and not that messy as Perl. Also it has way more modern frameworks.
But in the end each of the big scripting languages will do. So you might want to take three days for each of them, do a basic tutorial and look what feels best for YOU.
>>58428683
>look what feels best for YOU.
Pretty much this, personally I use Perl a lot because I've been using it regularly for half my life, I know a lot of it's foibles, and the things it does well and not so well. It's a Swiss army chainsaw - incredibly powerful, can do do most tasks (albeit not as well as a tool dedicated to that particular task), but is prone to make a lot of noise, belch noxious fumes, and sever your limbs if you don't know what you're doing.