[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Passing variables by reference conflicts with local
From: |
Greg Wooledge |
Subject: |
Re: Passing variables by reference conflicts with local |
Date: |
Mon, 3 May 2010 08:21:05 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Sat, May 01, 2010 at 04:26:16AM -0500, Dennis Williamson wrote:
> I prefer to avoid using eval by using declare, but declare inside a
> function makes the variable local. Wouldn't it be nice to have a
> global flag (declare -g) like zsh's typeset -g.
Yeah. It definitely would. (This comes up every once in a while in
IRC, too.)
- Re: Passing variables by reference conflicts with local, (continued)
- Re: Passing variables by reference conflicts with local, Freddy Vulto, 2010/05/01
- Re: Passing variables by reference conflicts with local, Dennis Williamson, 2010/05/01
- Re: Passing variables by reference conflicts with local, Freddy Vulto, 2010/05/02
- Re: Passing variables by reference conflicts with local, Dennis Williamson, 2010/05/02
- Re: Passing variables by reference conflicts with local, Freddy Vulto, 2010/05/03
- Re: Passing variables by reference conflicts with local, Freddy Vulto, 2010/05/04
- Re: Passing variables by reference conflicts with local, Chet Ramey, 2010/05/05
- Re: Passing variables by reference conflicts with local, Chet Ramey, 2010/05/04
- Re: Passing variables by reference conflicts with local, Chet Ramey, 2010/05/02
- Re: Passing variables by reference conflicts with local, Matthew Woehlke, 2010/05/03
Re: Passing variables by reference conflicts with local,
Greg Wooledge <=
Re: Passing variables by reference conflicts with local, Marc Herbert, 2010/05/04