dragonchild has asked for the wisdom of the Perl Monks concerning the following question:
During the data-munging part, I found the following line of code:
next LINE while (($line =~ /abcd/o) .. ($line =~ /def/0)); I'm a little confused as to what it does. As far as I know, those conditions never arise, as they're checked for above. But, what would this do?? (And, yes, it compiles and runs just fine.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: This code is just freaky...
by arturo (Vicar) on Jul 27, 2001 at 21:47 UTC | |
by dragonchild (Archbishop) on Jul 27, 2001 at 22:04 UTC | |
by John M. Dlugosz (Monsignor) on Jul 27, 2001 at 22:47 UTC | |
by petral (Curate) on Jul 29, 2001 at 12:41 UTC | |
|
Re: This code is just freaky...
by snafu (Chaplain) on Jul 27, 2001 at 22:20 UTC | |
|
Re: This code is just freaky...
by Zaxo (Archbishop) on Jul 27, 2001 at 22:01 UTC | |
by DBX (Pilgrim) on Jul 28, 2001 at 03:42 UTC | |
by cmeyer (Pilgrim) on Aug 01, 2001 at 01:09 UTC | |
|
Re: This code is just freaky...
by mattr (Curate) on Jul 30, 2001 at 12:51 UTC |