thoughts on this script?
abez
abez at abez.ca
Thu Jul 25 11:36:56 CDT 2002
last , break same thing :P My perl and java bleed into each other
sometimes in Java I catch myself writing stuff like
my int counter;
or
private $counter;
On Thu, 25 Jul 2002, nkuipers wrote:
> >I'd generally go something like:
> >while (!$done) {
> > $done = 1;
> > for () {
> > if () {
> > $done = 0;
> > break; #reloop
> > }
> >
> > }
> >}
> >
>
> Unless I am mistaken, you are thinking in java...meaning, are ya SURE there is
> a break loop operator in Perl, or would last be a better choice. ;) Thanks
> for the tip though.
>
> anyways, i redid the script not too long after sending it out for feedback.
> it's more compact, sorts output, and is really quite fast.
--
ABeZ------------ ------- ------ - ---------- -- ------------
http://www.indexdirect.com/abez/ Abram Hindle (abez at abez.ca)
---- ------- ----------- ----------- - - ------ --------ABeZ
More information about the Victoria-pm
mailing list