Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You're largely right. The problem is that $~ (and related vars) and $_ are scoped to the nearest method body. If they were scoped to the closure itself, there'd be no problem.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: