sleep 4; print "timespan: " . (time - do { my $btime; BEGIN {$btime=time} $btime }); # should show 4
In reply to Re: Can / Do BEGIN blocks return their evaluated content?
by Roy Johnson
in thread Can / Do BEGIN blocks return their evaluated content?
by dynamo
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |