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

This means that you can even quote the delimiter in the string as long as it's balanced.

    $X=q( foo() )
Should work if it's balanced. If you choose a different pair like []{} then you can avoid hitting collisions. It also means that you can trivially nest quotations.

I agree that this qualified quotation is really underutilized.



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

Search: