RE: Passing array to subroutine problem

2002-06-04 Thread Bob Showalter
> -Original Message- > From: Robert Thompson [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, June 04, 2002 3:38 PM > To: [EMAIL PROTECTED] > Subject: Passing array to subroutine problem > > > Hello, > > I have a subroutine where I want to pass some

Passing array to subroutine problem

2002-06-04 Thread Robert Thompson
Hello, I have a subroutine where I want to pass some paramaters to it, but assign default ones if a paramater is not passed. This is similar to CGI. &mySub( -param1=>'my value', -param3=>'value' ); # -param2 would get a default value The problem I am running into is if