New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Perlfunc needs to be made more clear regarding reverse in scalar context. #8459
Comments
From theodore@websitters.comPerlfunc gives these as examples of reverse: print reverse <>; # line tac, last line This is very clear for using reverse in list context, print scalar reverse $_; Thank you for your attention to this matter. Homeschool World Our homeschool groups area: Try our homeschool forum! |
From james@mastros.bizOn Tue, May 23, 2006 at 02:34:11AM -0700, Theodore Pride wrote:
print scalar reverse "\n!dlrow ,olleH"; # Traditional greeting ... which mostly avoids unclear context. Remember, the audience for the -=- James Mastros |
The RT System itself - Status changed from 'new' to 'open' |
From theodore@websitters.comMy point is that the current description doesn't -Ted --- James Mastros via RT <perlbug-followup@perl.org>
Homeschool World Our homeschool groups area: Try our homeschool forum! |
From @tamiasOn Tue, May 23, 2006 at 05:30:47PM -0700, Theodore Pride wrote:
I understand that the current examples were unclear to you, and it's undef $/; ? Ronald |
From chromatic@wgz.orgOn Tuesday 23 May 2006 17:30, Theodore Pride wrote:
Why bring print and $_ into it? my $backwards = 'sdrawkcab'; -- c |
From p5p@spam.wizbit.beOn Tue May 23 02:34:11 2006, theodore@websitters.com wrote:
Patch that changes the examples in perlfunc/reverse attached. |
p5p@spam.wizbit.be - Status changed from 'open' to 'resolved' |
From @demerphq2008/5/16 Bram via RT <perlbug-followup@perl.org>:
Thanks. Applied as 33840. http://public.activestate.com/cgi-bin/perlbrowse/p/33840 Cheers, -- |
Migrated from rt.perl.org#39187 (status was 'resolved')
Searchable as RT39187$
The text was updated successfully, but these errors were encountered: