Uri asked:

> but what if there are multiple bound variables like this example:
> 
>         for %phonebook.kv -> $name, $number {
>                 print "$name: $number\n"
>         }
> 
> is $_ aliased to either/both/neither of the two topics? are those now
> not topics but just aliased variables?

In a multiple binding like that, the first bound variable is always the
topic (and hence it alone is aliased to $_).


> i must know the answer so i don't get drawn to the dark side of the source

Too late, I fear. Lack of capitals is a sure sign of Dark Powers at work!

;-)

Damian

Reply via email to