NAME
noop - A no-operation function, optimized to a single custom op
SYNOPSIS
use noop 'noop';
noop(); # Does nothing, very fast
# Useful as default callback
my $callback = $opts{on_complete} // \&noop;
$callback->($result);
DESCRIPTION
noop provides a function that does absolutely nothing, optimized at compile time to a single custom op with minimal overhead.
FUNCTIONS
noop
noop();
Does nothing. Returns nothing. Very fast.
AUTHOR
LNATION <email@lnation.org>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.