Re: Assigning a singe value to a list

2003-07-18 Thread Rob Dixon
Janek Schleicher wrote: > Paul D. Kraus wrote at Thu, 17 Jul 2003 15:33:11 -0400: > > > Is there a way to assign a single value to a list? other then > > doing the obvious and spelling out each list assignment or > > running through a loop. > > > > For instance... > > > > my ( $var1, $var2, $var3,

Re: Assigning a singe value to a list

2003-07-18 Thread Janek Schleicher
Paul D. Kraus wrote at Thu, 17 Jul 2003 15:33:11 -0400: > Is there a way to assign a single value to a list? other then doing the > obvious and spelling out each list assignment or running through a loop. > > For instance... > > my ( $var1, $var2, $var3, ... ) = "Paul" > assigning paul to all va

Assigning a singe value to a list

2003-07-17 Thread Paul D. Kraus
Is there a way to assign a single value to a list? other then doing the obvious and spelling out each list assignment or running through a loop. For instance... my ( $var1, $var2, $var3, ... ) = "Paul" assigning paul to all variables in the list. or a more useful example my ($passed1, $passed2