On onsdag, juli 24, 2002, at 12:23 , Elizabeth Mattijsen wrote:
> From: Elizabeth Mattijsen <[EMAIL PROTECTED]> > Date: ons jul 24, 2002 12:23:51 Europe/Stockholm > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: Re: threads in threads? > > At 12:19 PM 7/24/02 +0200, [EMAIL PROTECTED] wrote: >> > Of course, a "threads::shared ':all' at the package level, would >> apply to >> > the whole package. Which you can override in any lower scope. >> Sorry if >> > that wasn't clear. >> so, could i do something like this: >> >> package Old; >> use threads::shared ':all'; >> >> package treaded_app; >> use Old; >> >> (i don't know enough Perl to know if this works.) but that's what i >> meant, >> i don't want to modify the module's files... > > If they are in seperate files, you wouldn't need "use Old". Not too > sure whether this would apply if they were in the same file. > > > Liz > If they are in different files they dont' share scope. Arthur
