Andrej Kastrin schreef: > Suppose that we have numbers 1 to 1000 and we want all numbers be > equal length; e.g.: > 0001 > 0002 > 0003 > ... > .. > 1000
perl -e "$\=qq(\n); print for (q(0001)..q(1000))" -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>