in reply to Can I tell a sub to take $_ instead of @_ (like some builtins do)

Well, $_ is a global. Unless your subroutine localizes it, you are messing with the caller's $_ anyway!

-- Randal L. Schwartz, Perl hacker

  • Comment on •Re: Can I tell a sub to take $_ instead of @_ (like some builtins do)