in reply to
forcing numeric context
One way to avoid the warning is to use "
$v || 0
". I'm not sure why "
+$v
" doesn't work: perhaps its a new feature of Perl6, not in Perl5. --Dave
Comment on
Re: forcing numeric context
Select
or
Download
Code
In Section
Seekers of Perl Wisdom