Can you tell me:
- How does this get parsed? (e.g. try adding parentheses to show precedence)
- Given that the body of each of the four subs is { print Dumper(\@_) }, what is the output?
$_ = "#x"; my @a = qw/b c/; foo /#(\w+)/, @a; bar /#(\w+)/, @a; quz /#(\w+)/, @a; baz /#(\w+)/, @a;
Hint:
Solution:
Back to
Meditations