From: Rick Delaney Date: Wed, 30 Aug 2000 15:36:55 +0000 (-0400) Subject: [ID 20000830.036] [DOC] chom?p %hash not documented X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4bf21a6d4ceecd0618ebcbc6e2e034cb3d06e189;p=p5sagit%2Fp5-mst-13.2.git [ID 20000830.036] [DOC] chom?p %hash not documented Message-Id: p4raw-id: //depot/perl@6921 --- diff --git a/pod/perlfunc.pod b/pod/perlfunc.pod index 85be9a2..99d9901 100644 --- a/pod/perlfunc.pod +++ b/pod/perlfunc.pod @@ -612,6 +612,8 @@ If VARIABLE is omitted, it chomps C<$_>. Example: # ... } +If VARIABLE is a hash, it chomps the hash's values, but not its keys. + You can actually chomp anything that's an lvalue, including an assignment: chomp($cwd = `pwd`); @@ -638,6 +640,8 @@ Example: #... } +If VARIABLE is a hash, it chops the hash's values, but not its keys. + You can actually chop anything that's an lvalue, including an assignment: chop($cwd = `pwd`);