develooper Front page | perl.perl5.porters | Postings from July 2016

Re: Indented here docs?

Thread Previous | Thread Next
From:
Zefram
Date:
July 2, 2016 12:48
Subject:
Re: Indented here docs?
Message ID:
20160702124811.GW1170@fysh.org
Matthew Horsfall (alh) wrote:
>Should I similarly guard these:

For ninstr() you must ensure that the haystack is at least as big as
the needle, that is, that (PL_bufend-s) >= len.  For memEQ() you must
ensure that it is valid to read the full length that you have specified,
that is, there must be at least indent_len bytes readable at ss.

-zefram

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About