develooper Front page | perl.perl5.porters | Postings from January 2001

Re: 8482 busted for $^V sprintf()s on OS/390

Thread Previous | Thread Next
Jarkko Hietaniemi
January 20, 2001 14:10
Re: 8482 busted for $^V sprintf()s on OS/390
Message ID:
> If I comment out the mention of $^V in configpm (as a temporary workaround
> only) the next spot that kills the build is the extraction of perlbug:

I see have learned to put Simon-wrath-warding runes on the ground :-)

> Extracting h2xs (with variable substitutions)
> ../miniperl -I../lib perlbug.PL
> Extracting perlbug (with variable substitutions)
> Wide character in print at perlbug.PL line 62.
> make[1]: *** [perlbug] Error 142
> make[1]: Leaving directory `/home/pvhp/perl/8482/perl/utils'
> make: *** [utilities] Error 2
> $
> That too can be worked around by commenting out the mention of $^V.
> Could this be fallout from Hugo's recent sprintf work?

Probably not.

"Wide character in print" means that a string was (internally) marked
UTF-8 and the string truly contains > 0xff (wide) characters, and you
tried to output that.  Since wide characters cannot be output as such
(a conversion to bytes is needed, using some character set mapping),
print() barfed.  This is one of the dreaded "should not happen" cases.

> Peter Prymmer

$jhi++; #
        # There is this special biologist word we use for 'stable'.
        # It is 'dead'. -- Jack Cohen

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About