Leon Timmermans

Results 377 comments of Leon Timmermans

Much like `length`, I think returning undef makes most sense here; it's the most helpful behavior.

> length is commonly used as: `if (length $foo)` to determine both whether a variable is defined and whether it is (not) the empty string. I can think of no...

> -short macro name, less to type I do not see that as an advantage, it looks more like obfuscation to me

My guess would be that this fails if `stringarg == strend`, that `

> I'm pretty sure that is a bug in the documentation (perldoc threads). It is. > It is the operating system that chooses which OS thread to deliver the signal...

> My particular issue is that I need the signal to be processed in the main thread You can use `POSIX::sigprocmask` to mask that signal in all threads that shouldn't...

> "The use of sigprocmask() is unspecified in a multithreaded process," or so says the man page, but I suppose it works in practice? Yeah, I once wrote [Thread::SigMask](https://metacpan.org/pod/Thread::SigMask) because...

> I suppose Configure could check that the separator is enclosed in double quotes and complain if it isn't Or we should just stringify it in the preprocessor using the...

> I think that anything living in dist should have all of its files needed for a CPAN release in core. This is missing the Changes file and any tooling...

> These reports would be a lot easier to read if backticks or four columns of indenting were used. Yeah, that might actually make it readable. Note in particular that...