On 4/6/07, Rob Dixon <[EMAIL PROTECTED]> wrote:
Tom Phoenix wrote: > > On 4/6/07, yitzle <[EMAIL PROTECTED]> wrote: > >> I'm thinking of doing something like: >> >> do { >> shift @input; >> } while ($input[0] =~ m/string-line to find/); > > Real Perl programmers don't use indices. At least, not like that.I think real Perl programmers use indices, but only 0 and -1 :) Rob
Don't forget int rand(@array) -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/
