Re: How do you return values directly to some variables?

2003-03-03 Thread Rob Dixon
Hello Jeroen. Jeroen Lodewijks wrote: > > I have a question. I have a sub which build a hash of list values. > I want to put those list values directly into some local variables > but I am unable to get the syntax right. > > I have something like this at the moment: > > sub FillHash > { >my($d

How do you return values directly to some variables?

2003-03-03 Thread Jeroen Lodewijks
Hi, I have a question. I have a sub which build a hash of list values. I want to put those list values directly into some local variables but I am unable to get the syntax right. I have something like this at the moment: sub FillHash { my($db) = @_; my (%formatrules); my $lcs