...

is the operator.

for ( 1 .. 1000 ){
        print "$_\n";
        }

> -----Original Message-----
> From: Rasoul Hajikhani [mailto:[EMAIL PROTECTED]]
> Sent: Friday, June 07, 2002 3:50 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Help with Ranges
> 
> 
> Hello folks,
> I am trying not to re-invent the wheels. So I was wondering whether
> there is a little program that you good people might know of the would
> do the following for me:
> 
> 
> Here's an example:
> 
> input: 1,2,3,4,5,6,17-25,32-101:4
> output:
> 1 6 1
> 17 25 1
> 32 100 4
> 
> output is "start end increment"
> 
> 
> also, frames can be duplicated:
> 
> input: 1,2,3,4,5,6,17-25,32-101:4,1,2,3,5
> output:
> 1 6 1
> 17 25 1
> 32 100 4
> 1 3 1
> 5 5 1
> 
> On top of that, I may, at times, want to have up to 10,000 
> command line
> values. I know it sounds very strange, but it is for a movie 
> studio with
> very peculiar requirements.
> 
> Thanks in advance...
> -r
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to