Re: What are the brackets used for

2007-03-14 Thread Mathew Snyder
Thanks. That's what I thought it was doing but wasn't sure. Mathew John W. Krahn wrote: > Mathew Snyder wrote: >> my $timeworked = {}; > > In this context they represent an anonymous hash, the reference of which is > assigned to the scalar variable. It is usually not necessary because of > aut

Re: What are the brackets used for

2007-03-14 Thread John W. Krahn
Mathew Snyder wrote: > my $timeworked = {}; In this context they represent an anonymous hash, the reference of which is assigned to the scalar variable. It is usually not necessary because of autovivification. John -- Perl isn't a toolbox, but a small machine shop where you can special-order c