charnames pod: Note that \N{} doesn't accept interpolated $vars
authorKarl Williamson <public@khwilliamson.com>
Wed, 24 Oct 2012 23:17:35 +0000 (17:17 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 25 Oct 2012 03:52:09 +0000 (21:52 -0600)
lib/charnames.pm

index 5c4ff3f..b8bd893 100644 (file)
@@ -336,8 +336,10 @@ controlling C<"use charnames"> in the same scope apply, like C<:loose> or any
 L<script list, C<:short> option|/DESCRIPTION>, or L<custom aliases|/CUSTOM
 ALIASES> you may have defined.
 
-The only difference is that if the input name is unknown, C<string_vianame>
-returns C<undef> instead of it being a syntax error.
+The only differences are due to the fact that C<string_vianame> is run-time
+and C<\N{}> is compile time.  You can't interpolate inside a C<\N{}>, (so
+C<\N{$variable}> doesn't work); and if the input name is unknown,
+C<string_vianame> returns C<undef> instead of it being a syntax error.
 
 =head1 charnames::vianame(I<name>)