> So is there an easy way in perl for us lazy people so i dont
> have to use
> commas and enter every variable name in single quotes?
Not that I know of. Of course, one can't be all that lazy if one has learned
perl ;)
Kirk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-m
perhaps you want to do the following:
function foo($str) {
return explode(' ',$str);
}
$required = foo('name address phone');
regards,
Philip Olson
On Tue, 20 Nov 2001, Brandon Lamb wrote:
> Here is the php version
> $required = array('name','address','phone');
>
> Here is the perl ver
"Brandon Lamb" <[EMAIL PROTECTED]> wrote:
> Here is the php version
> $required = array('name','address','phone');
>
> Here is the perl version
> @required = qw( name address phone );
>
>
> So is there an easy way in perl for us lazy people so i dont have to use
> commas and enter every variabl
Here is the php version
$required = array('name','address','phone');
Here is the perl version
@required = qw( name address phone );
So is there an easy way in perl for us lazy people so i dont have to use
commas and enter every variable name in single quotes?
--
PHP General Mailing List (htt
4 matches
Mail list logo