![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
Re: pattern matchingby moritz (Cardinal) |
on Jun 14, 2009 at 11:27 UTC ( #771389=note: print w/replies, xml ) | Need Help?? |
The answer to your first question can be found in perlop in the section Regexp Quote-Like Operators
If you use the /s modifier, then . matches any character, including newlines. So for example:
For handling TCP packets I'd rather use an existing module from CPAN.
In Section
Seekers of Perl Wisdom
|
|