Make also hex() and oct() to croak if their arguments
authorJarkko Hietaniemi <jhi@iki.fi>
Sun, 20 Jan 2002 06:35:54 +0000 (06:35 +0000)
committerJarkko Hietaniemi <jhi@iki.fi>
Sun, 20 Jan 2002 06:35:54 +0000 (06:35 +0000)
commit1ac95999ae1a7fa7cd4cdbaed612a3b867560f23
treee07c91afce50444d223b3b6f0ac392ac7293401c
parentf502af34bb5cd3de880fbb34674c5453df0e98d0
Make also hex() and oct() to croak if their arguments
cannot be downgraded (that is, if they contain wide
characters), just like crypt() does (and use the croak
feature of sv_utf8_downgrade()).

p4raw-id: //depot/perl@14354
pp.c
t/op/oct.t