Method calls don't interpolate. Nor do subroutine calls or indeed anything other than simple variables and their dereferences.
See the FAQ: How do I expand function calls in a string? for alternatives and workarounds.
Update: and also How can I expand variables in text strings? for good measure.
In reply to Re^3: How to properly go through a WWW::Mechanize::Link object?
by hippo
in thread How to properly go through a WWW::Mechanize::Link object?
by SergioQ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |