* Thus wrote Dan Joseph:
> Hi,
> 
>       Or...
> 
> #!/usr/bin/perl
> 
> Use CGI;
> 
> $q = new CGI;
> 
> if ( $q->param_url("var") )
> {
>       Print $q->param_url("var")
> }

Excellent point! I guess my point with my random perl/php code
snipplet was that php out of the box is much nicer than perl is as
a web language. Simply re-enforcing php's foundation as a web
language.

> 
> Really, if you look at a lot of functions in PHP and Perl, they mimic each
> other, and other languages (C, etc..)..  It's a personal preference choice.
> PHP was designed for dynamic web pages, Perl was designed to be a unix
> programming language that evolved.

Well said, and as the languages are evolving, they both can serve
as decent solutions for either web or (shell) scripting.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to