summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorM.J.T. Guy <mjtg@cus.cam.ac.uk>1997-07-08 00:37:51 +1200
committerTim Bunce <Tim.Bunce@ig.co.uk>1997-08-07 00:00:00 +1200
commitd9fdd1afe4b88705294e21dc4e070c42d3d9a4d8 (patch)
tree3eaa3bcf51aa087cba9019da6365f29812a6cf88 /hints
parent8e591e46b4c6543ed80895327199c4a628ce11b6 (diff)
downloadperl-d9fdd1afe4b88705294e21dc4e070c42d3d9a4d8.tar.gz
Fwd: substr("foo", -1000)
Subject: hmmm. Isn't it weird that substr("foo", -1000) is silently converted to substr("foo", 0, 3) while substr("foo", 1000) always causes RETPUSHUNDEF and possibly a warning? I'd say there's too much code in pp.c:pp_substr. Credited: Jarkko Hietaniemi <jhi@iki.fi> Credited: Tim Bunce <Tim.Bunce@ig.co.uk> p5p-msgid: 9707072304.AA01069@toad.ig.co.uk private-msgid: 199707100655.JAA14924@alpha.hut.fi
Diffstat (limited to 'hints')
0 files changed, 0 insertions, 0 deletions