Or you can iterate through the values of Movement, or use each if you need both keys and values (neither of which work if you want to sort the keys)...foreach my $key (keys %Movement) { $foo->can($Movement{$key})->($foo); } # Update: this works too: $foo->${\$Movement{$key}};
In reply to Re: Weird function calling...
by runrig
in thread Weird function calling...
by dragonchild
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |