On Wed, 31 Oct 2001, Roy Peters wrote: > Is there any way to return 2 or 3 scalar variables from a subroutine (like > passing a variable by reference in C)? > > I would like to avoid returning an array, if possible, because it makes > the script very non-intuitive.
In what ways does it make it non-intuitive, if you return a list of values? my ($var1, $var2, $var3) = some_func(); -- Brett http://www.chapelperilous.net/ ------------------------------------------------------------------------ I just know I'm a better manager when I have Joe DiMaggio in center field. -- Casey Stengel -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]