Keep It Simple, Stupid | |
PerlMonks |
Re: how to use angle operator with timeout?by tobyink (Canon) |
on Feb 03, 2013 at 23:35 UTC ( [id://1016876]=note: print w/replies, xml ) | Need Help?? |
Try Prompt::Timeout or IO::Prompter. The basic technique just involves the alarm function...
package Cow { use Moo; has name => (is => 'lazy', default => sub { 'Mooington' }) } say Cow->new->name
In Section
Seekers of Perl Wisdom
|
|