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?
I think you mean PHP not perl, but there is a way.
$required = explode( ' ', 'name address phone' );
The code above turns the space separated list into an array.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/