NAME Perinci::Sub::Property::timeout - Specify function execution time limit VERSION version 0.04 SYNOPSIS # in function metadata timeout => 5, DESCRIPTION This property specifies function execution time limit, in seconds. The default is 0, which means unlimited. This property's wrapper implementation uses "alarm()" ("ualarm()" replacement, for subsecond granularity, will be considered upon demand). If limit is reached, a 504 (timeout) status is returned. SEE ALSO Perinci AUTHOR Steven Haryanto COPYRIGHT AND LICENSE This software is copyright (c) 2012 by Steven Haryanto. This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.