Search Result

Collapse
2 results in 0.0043 seconds.
Keywords
Members
Tags
perl break
  •  

  • pavanponnapalli
    started a topic break in perl
    in Perl

    break in perl

    hi,
    How to come forcefully come out of a loop,but not from the program,
    like we use break statement in c. Is there any predefined function like break in perl?

    cheers,
    pavan
    See more | Go to post

  • Jeremy Morton
    Guest started a topic Perl loops should use break, not last
    in Perl

    Perl loops should use break, not last

    Probably been mentioned before but I fail to see why Perl changed the
    'break' keyword to 'last', in loops. Bear with me on this - it seems
    semantically more accurate to say 'break' - you're immediately breaking out
    of the loop. 'last' makes it sound like the current loop will be the last,
    but not that the execution should be stopped immediately, whereas break
    makes it sound like the latter.

    Where can I...
    See more | Go to post
Working...