Damian Conway <[EMAIL PROTECTED]> writes: > Joe Gottman wrote: >> For instance, what would happen in the >> following code? >> >> sub func1() { >> our $varname is private \\= 1; >> return $varname; >> } >> >> sub func2() { >> our $varname is private \\= 2; > > Fatal error: "Private variable $varname declared in two distinct scopes".
Um... there'd be a syntax error before that. "\\=" should be "//=" surely? -- Piers "It is a truth universally acknowledged that a language in possession of a rich syntax must be in need of a rewrite." -- Jane Austen?