From d1f39dd2ee3b0af5903ba90c66e22e2b1a368f29 Mon Sep 17 00:00:00 2001 From: Elizabeth Mattijsen Date: Mon, 4 Jun 2018 16:15:50 +0200 Subject: [PATCH] Use numification / stringification shortcuts --- doc/Language/5to6-perlvar.pod6 | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/Language/5to6-perlvar.pod6 b/doc/Language/5to6-perlvar.pod6 index 74616f62a..ed59f7bc8 100644 --- a/doc/Language/5to6-perlvar.pod6 +++ b/doc/Language/5to6-perlvar.pod6 @@ -86,8 +86,8 @@ In PerlĀ 6 the group information is handled by C<$*GROUP>, which holds an object of type L and therefore can be used either within a string or a numeric context. -The group id is therefore obtained via C<$*GROUP.Numeric>, while the -group name via C<$*GROUP.Str>. +The group id is therefore obtained via C<+$*GROUP>, while the +group name via C<~$*GROUP>. =item $EFFECTIVE_GROUP_ID @@ -108,9 +108,8 @@ which holds an object of type L and therefore can be used either within a string or a numeric context (this is similar to how the group information is handled by the C<$*GROUP> object). -The user id is therefore obtained via C<$*USER.Numeric>, while the -username via C<$*USER.Str>. - +The user id is therefore obtained via C<+$*USER>, while the +username via C<~$*USE>. =item $EFFECTIVE_USER_ID