PEPPLER.ORG
Michael Peppler
Sybase Consulting
Menu
Home
Sybase on Linux
Install Guide for Sybase on Linux
General Sybase Resources
General Perl Resources
Freeware
Sybperl
Sybase::Simple
DBD::Sybase
BCP Tool
Bug Tracker
Mailing List Archive
Downloads Directory
FAQs
Sybase on Linux FAQ
Sybperl FAQ
Personal
Michael Peppler's resume

sybperl-l Archive

Up    Prev    Next    

From: "Dennis R dot Sherman" <dennis_sherman at unc dot edu>
Subject: Re: break statement
Date: Oct 13 1997 12:45PM

> 	Can someone help me with the 'break statement with in a  'foreach'

use "last" instead of "break" -- this is perl, not C.  An error I've made 
more often than I want to think about.
--
  Dennis R. Sherman              Triangle Research Libraries Network
  dennis_sherman@unc.edu       Univ. of North Carolina - Chapel Hill
               http://www.unc.edu/~sherman/