Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

PHP things in Perl

by Kage (Scribe)
on Oct 06, 2002 at 03:15 UTC ( [id://203129]=perlquestion: print w/replies, xml ) Need Help??

Kage has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: PHP things in Perl
by Zaxo (Archbishop) on Oct 06, 2002 at 04:36 UTC
    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.)
      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.
      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?
    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

      What?? Are you serious? Nooooooooooooooooo!!!!
      *perlmonks commits seppuku*
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
      It's. Not. PERL. Perl. Thank you.

      -Grammar Nazi

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2024-04-16 15:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found