Hacker News new | ask | show | jobs
by maxlybbert 4316 days ago
> Perl's undef isn't that different from returning, gosh, -2 or any other bloody number except -1 in C.

Returning undef has the advantage of being something completely useless as a process ID for any other function call.