On Monday, March 15, 2004, at 11:05 , Larry Wall wrote:
On Mon, Mar 15, 2004 at 07:54:09PM -0700, Luke Palmer wrote:
Larry Wall writes:
And basically because I decided :foo('bar') is too ugly for something
that will get used as often as switches are on the unix command line.
The %hash syntax
Whoops, that didn't work at all. Forgot about the %foo<><> case
and it was losing the subscripts entirely.
Let's try that again...
http://www.cpan.org/modules/by-authors/id/S/SW/SWALTERS/Perl6-Variables-0.02_002.tar.gz
http://slowass.net/~scott/Perl6-Variables-0.02_002.tar.gz
This version still
I've updated Damian's Perl6::Variables module to treat %foo{bar} as %foo{bar()}
and to handle %foo<> and %foo<>. If this syntax is finalized, I'll
send Damian a patch.
This is at:
http://www.cpan.org/modules/by-authors/id/S/SW/SWALTERS/Perl6-Variables-0.02_001.tar.gz
http://slowass.net/~scott/Pe
On Mon, 15 Mar 2004, Larry Wall wrote:
> On Mon, Mar 15, 2004 at 11:56:26AM -0700, John Williams wrote:
> : I'm probably a bit behind on current thinking, but did %hash{bareword}
> : lose the ability to assume the bareword is a constant string?
>
> It's thinking hard about doing that. :-)
>
> : An
On Mon, Mar 15, 2004 at 07:54:09PM -0700, Luke Palmer wrote:
: Larry Wall writes:
: > On Mon, Mar 15, 2004 at 11:56:26AM -0700, John Williams wrote:
: > : On Wed, 10 Mar 2004, Larry Wall wrote:
: > : > You subscript hashes with {...} historically, or these days, «...»,
: > : > when you want constan
Larry Wall writes:
> On Mon, Mar 15, 2004 at 11:56:26AM -0700, John Williams wrote:
> : On Wed, 10 Mar 2004, Larry Wall wrote:
> : > You subscript hashes with {...} historically, or these days, Â...Â,
> : > when you want constant subscripts. So what you're looking for is
> : > something like:
> :
On Mon, Mar 15, 2004 at 11:56:26AM -0700, John Williams wrote:
: On Wed, 10 Mar 2004, Larry Wall wrote:
: > You subscript hashes with {...} historically, or these days, «...»,
: > when you want constant subscripts. So what you're looking for is
: > something like:
: >
: > if / ... ... { $?fo