Do you understand how '...' and "..." work in Perl? q() and qq() work pretty the same way, respectively. "Interpolation" just means some characters have special meaning (\, $, @ to name a few).
In most cases I understand the different quote styles... but I do still get confused at times regarding which is needed. Of course, that part about '...' not letting variable expand... I do get.
I understand that qq~ ... ~ works for my purpose. As to understanding exactly what happens there... no. I mean beyond restricting the output to only between those tilde symbols. Any deeper ... er .. no.
You forcing me to see it a little better... has cleared it up at last
In reply to Re^6: Grab 3 lines before and 2 after each regex hit
by HarryPutnam
in thread Grab 3 lines before and 2 after each regex hit
by HarryPutnam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |