develooper Front page | perl.perl5.porters | Postings from March 2000

Confusing error message when using \N

Thread Next
From:
Johan Vromans
Date:
March 17, 2000 12:58
Subject:
Confusing error message when using \N
Message ID:
14546.38244.913262.162756@phoenix.squirrel.nl
Is it possible to change this message into something more descriptive:

  % perl -wle 'print "\N{greek:Sigma}"'
  constant(\N{...}): %^H is not localized at -e line 1, within string

E.g. "constant(\N{...}) requires charnames pragma".

-- Johan

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About