Re:Why does OpenBSD still include Perl in its base installat...
by aganame on Saturday May 30, 2020 @09:15AM
(#23360936)
No, it's not interesting at all. PHP is fairly good at web things, but that's it.
[ Parent
| on HN ]
Re:Why does OpenBSD still include Perl in its base installat...
by mtnGoat on Saturday May 30, 2020 @10:10AM
(#23361284)
i dunno, i wrote PHP scripts for the CLI that run a $100m+ business and execute many millions of times per day. PHP is great for things not web-related, i think many just didnt take the time to learn.
Re:Why does OpenBSD still include Perl in its base installat...
by nineteen999 on Saturday May 30, 2020 @10:29AM
(#23361428)
Does PHP have anything approaching CPAN? That is one of the key reasons I still dust off Perl for quick and dirty things from time to time, as well as the compact and accessible regex syntax.
Re:Why does OpenBSD still include Perl in its base installat...
by smacktoward on Saturday May 30, 2020 @10:35AM
(#23361470)
Re:Why does OpenBSD still include Perl in its base installat...
by aganame on Wednesday June 03, 2020 @07:30AM
(#23402215)
What specifically do you think makes PHP especially great for that?
Re:Why does OpenBSD still include Perl in its base installat...
by acomjean on Saturday May 30, 2020 @09:25AM
(#23360996)
I use php for small scripts that need to read csv and database lookup from the command line. It has built ins for these that work without any environment setup which is great sometimes.
Perl has some easy oneliners too. Depending on where I'm working sometimes I don't want to set up an environment.