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
do-while bug #960
Comments
From clewis@apollosolutions.comI found a bug, or at least unexpected operation, from the last operator % perl -v This is perl, version 5.005_03 built for i386-linux Copyright 1987-1999, Larry Wall Perl may be copied only under the terms of either the Artistic License Complete documentation for Perl, including FAQ lists, should be found on I wrote some test code which demonstrates my unexpected output: ----- Begin test_dowhile.pl ----- print "Before For Loop.\n"; I expected the following output: Before For Loop. Instead, I got: It appears that the "last" operator does not consider do-while a loop, -- |
From @tamiasOn Thu, Dec 16, 1999 at 02:06:38PM -0600, Craig Lewis wrote:
As documented. perldoc -f last last cannot be used to exit a block which returns a value such as Ronald |
Migrated from rt.perl.org#1907 (status was 'resolved')
Searchable as RT1907$
The text was updated successfully, but these errors were encountered: