"John W. Krahn" <[EMAIL PROTECTED]> writes:

>> Its just the numeric part I need a jump start on.
>
> $ perl -le'
> for my $number ( 0 .. 4, 997 .. 1003 ) {
>     my $filename = sprintf q[%03d.ext], $number;
>     print $filename;
>     }
> '

Ahh.  Nice, thanks.  I didn't recognize the
  `q[...]' usage but it appears to operate the same as
  
  "%03d,ext", $number;


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to