Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Perl: java break out of while loop using ‘last’ statement

Perl: java break out of while loop using 'last' statement
{filelink=15266}

#!/usr/bin/perl
while ()
{
  if (/__END__/) {
    last;            #Break
  } elsif (/me/) {
    print;
  }
}

Users who found this page were searching for:

  • python comparing strings
  • read email python
  • java strikethrough
  • factorial program in perl
  • Python Compare Strings

No comments yet.

Leave a Comment