Re: PHP things in Perl
by Zaxo (Archbishop) on Oct 06, 2002 at 04:36 UTC
|
You can't be serious.
CPAN really matters.
After Compline, Zaxo
| [reply] |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Re: PHP things in Perl
by BUU (Prior) on Oct 06, 2002 at 05:44 UTC
|
Everything that can be done in php can be done by perl. Period. Plus lots of things php can't do.
(Off topic rant: i recently got into an arguement with someone over php vs perl, and his arguement was that php was better b/c you had to reinvent lots of wheels, as all you had to do in perl was just download a program and fill in a few variables. This person was inordinately proud that he just spent the last 2 weeks writing a templating system.) | [reply] |
|
Even if you had to do it in Perl, you wouldn't spend 2 weeks on it either :) Did that guy even know about PEAR?
Greetz
Beatnik
...Perl is like sex: if you're doing it wrong, there's no fun to it.
| [reply] |
|
This person was inordinately proud that he just spent the last 2 weeks writing a templating system.
??? While all of PHP is nothing but a templating system?
| [reply] |
A reply falls below the community's threshold of quality. You may see it by logging in. |
Re: PHP things in Perl
by diotalevi (Canon) on Oct 06, 2002 at 20:15 UTC
|
I just remembered that PHP does have a legitimate leg up on perl when it comes to Lotus Domino integration. I'm working (very slowly) on writing the LotusDomino module but until that's in place PHP can infact, do something that perl can't.
__SIG__ printf "You are here %08x\n", unpack "L!", unpack "P4", pack "L!", B::svref_2object(sub{})->OUTSIDE
| [reply] [d/l] |
|
What?? Are you serious? Nooooooooooooooooo!!!!
*perlmonks commits seppuku*
| [reply] |
Re: PHP things in Perl
by Angel (Friar) on Oct 06, 2002 at 14:24 UTC
|
It's a little different PERL can do everything PHP can do just you might have to use modules for it. PHP has alot of stuff built in that PERL calls though modules. And a module exists for just about everything.
PHP makes it really easy to have your script ( the commands ) and the html in the same file PERL makes it a little trickier. PHP is much easier to pickup quickly than PERL in MHO.
But there are things that PERL can do that PHP has a hard time doing.
-Angel | [reply] |
|
It's. Not. PERL. Perl. Thank you.
-Grammar Nazi
| [reply] |