[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

PROBLEM SOLVED! Re: [MacPerl-Forum] Scope problem ? "my" variable %in masks earlier declaration in same scope.



On Fri, Aug 18, 2000 at 11:13:39AM +0200, Jimmy Lantz wrote:
> # Extraction from error output:
> 
> # "my" variable $value masks earlier declaration in same scope.
> File 'Server G4:WebSTAR Server Suite 4.2:cgi-bin:kursreg.cgi'; Line 283
> # "my" variable $value masks earlier declaration in same scope.
> File 'Server G4:WebSTAR Server Suite 4.2:cgi-bin:kursreg.cgi'; Line 284
> # Can't use global $1 in "my".
> File 'Server G4:WebSTAR Server Suite 4.2:cgi-bin:kursreg.cgi'; Line 284

I suppose lines 283 and 284 are somwhere in the code excerpt you included?

Ronald

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-forum-request@macperl.org