Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re^2: substr outside of string?

by ikegami (Pope)
on Jun 16, 2013 at 16:04 UTC ( #1039223=note: print w/replies, xml ) Need Help??


in reply to Re: substr outside of string?
in thread substr outside of string? (Updated: Fixed in later builds.)

PP(pp_repeat) { ... IV count; <---- ... if (SvIOKp(sv)) { if (SvUOK(sv)) { const UV uv = SvUV_nomg(sv); if (uv > IV_MAX) count = IV_MAX; /* The best we can do? */ <---- WTF else count = uv; } else { const IV iv = SvIV_nomg(sv); if (iv < 0) count = 0; else count = iv; } } else if (SvNOKp(sv)) { const NV nv = SvNV_nomg(sv); if (nv < 0.0) count = 0; else count = (IV)nv; } else count = SvIV_nomg(sv); ... }

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1039223]
help
Chatterbox?
[davies]: The turnout, IIRC, was about 12%.
[&lt; &amp; &gt;]: 12% seriously? =)
NodeReaper thinks he was bad enough with one account \:
LanX is injecting accounts

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (6)
As of 2017-12-15 19:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (442 votes). Check out past polls.

    Notices?