develooper Front page | perl.perl6.users | Postings from May 2006

Re: Simple Print/Say Question

Thread Previous | Thread Next
From:
Chris Yocum
Date:
May 23, 2006 12:59
Subject:
Re: Simple Print/Say Question
Message ID:
82bb54530605231258y1321ce94i919fb00a71d5f6c2@mail.gmail.com
Dear Mr. Bach,
     You were indeed correct so I wrapped the %hash like this
"@{%hash}" like you would to de-refrence an array and it worked
perfectly.  It was indeed just me.
     Thanks to everyone that responded!

Chris

On 5/23/06, Andy_Bach@wiwb.uscourts.gov <Andy_Bach@wiwb.uscourts.gov> wrote:
> Oh, I just saw some discussion about the flatten op and:
> for %hash.sort.keys -> my $key {
>                  my @total = [,] %hash{$key};
>
> maybe, would be the unroll or:
> for %hash.sort.keys -> my $key {
>                  my @total = ( %hash{$key} );
>
> or
> for %hash.sort.keys -> my $key {
>                  my (@total) = %hash{$key};
>
> perhaps?
>
> a
>
> Andy Bach, Sys. Mangler
> Internet: andy_bach@wiwb.uscourts.gov
> VOICE: (608) 261-5738  FAX 264-5932
>
> "It's a summons."
> "What's a summons?"
> "It means summon's in trouble."
>                 -- Rocky and Bullwinkle
>

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About