From 036b4402dc24284de44ae733b52896d6fd4fbb77 Mon Sep 17 00:00:00 2001 From: Gurusamy Sarathy Date: Tue, 11 Jul 2000 18:43:26 +0000 Subject: integrate cfgperl changes#6252..6260 into mainline p4raw-link: @6260 on //depot/cfgperl: fc865a0069737312ca5ef9762fe8a9be7aa37747 p4raw-link: @6252 on //depot/cfgperl: 0e4dedf1581344244dfa297db1d00c01c5f821aa p4raw-id: //depot/perl@6362 p4raw-integrated: from //depot/cfgperl@6361 'copy in' t/pragma/constant.t (@5717..) t/op/pack.t t/pragma/warn/op (@5996..) pp_proto.h (@6243..) t/op/my_stash.t (@6250..) lib/IPC/Open3.pm (@6253..) 'ignore' t/pragma/warn/regcomp (@6241..) lib/Exporter.pm (@6251..) p4raw-integrated: from //depot/cfgperl@6260 'copy in' pp.c (@6217..) pod/perlfunc.pod (@6248..) p4raw-integrated: from //depot/cfgperl@6259 'copy in' MANIFEST (@6250..) p4raw-integrated: from //depot/cfgperl@6257 'copy in' op.c (@6228..) 'merge in' sv.c (@6244..) p4raw-integrated: from //depot/cfgperl@6256 'copy in' doop.c (@6254..) p4raw-integrated: from //depot/cfgperl@6254 'copy in' t/op/tr.t (@6192..) 'ignore' embedvar.h objXSUB.h (@6243..) 'merge in' embed.h (@6243..) embed.pl proto.h (@6250..) --- pod/perlfunc.pod | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pod') diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 6b4e971f97..00fc8601a4 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -3202,6 +3202,15 @@ equal $foo). =item * +If the pattern begins with a C, the resulting string will be treated +as Unicode-encoded. You can force UTF8 encoding on in a string with an +initial C, and the bytes that follow will be interpreted as Unicode +characters. If you don't want this to happen, you can begin your pattern +with C (or anything else) to force Perl not to UTF8 encode your +string, and then follow this with a C somewhere in your pattern. + +=item * + You must yourself do any alignment or padding by inserting for example enough C<'x'>es while packing. There is no way to pack() and unpack() could know where the bytes are going to or coming from. Therefore -- cgit v1.2.1