Terry, look for "range operators".

Important to note that ".." differs from "...".

".." returns true is both tests are true.
"..." doesn't return true if both tests are true.

You can use them with patterns or line numbers.

Cheers,

Carter.


> -----Original Message-----
> From: Terry Fowler [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 12, 2003 10:03 AM
> Cc: [EMAIL PROTECTED]
> Subject: Re: CSV munging and "uninitialized values"
> 
> 
> "$Bill Luebkert" wrote:
> > 
> > for (@line .. 41) {
> >         $line[$_] = '';
> > }
> 
> I've seen this use of ".." only a few times before and
> don't really know what it's all about. I don't even 
> know what to look for in the Llama book - "them two dots"?
> 
> Terry Fowler
> _______________________________________________
> Perl-Win32-Users mailing list
> [EMAIL PROTECTED]
> To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
> 

_______________________________________________
Perl-Win32-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to