Hacker News new | ask | show | jobs
by hnu0847 1585 days ago
So basically this:

    sub() {}
does not try to parse the /1;#/+ as an argument because the () indicates there are no arguments (although they could be explicitly included if f were called with (), whereas this:

    sub f {}
does try to parse the /1;#/+ as an argument because that's perl's behavior if () are omitted?
1 comments

That's right.