imperl has asked for the wisdom of the Perl Monks concerning the following question:
print "Enter the number in the first batch file:\n"; $f=<STDIN>; print "Enter the number in the last batch file:\n"; $l=<STDIN>; for ($i=$f;$i<=$l; $i++) { $t="file"; $concatfile=$t and $i; $file="$concatfile.bat"; system($file); sleep(2); }
20050504 Janitored by Corion: Added formatting
20050505 Edit by Corion: Changed title from 'Perl help'
20050505 Edit by Corion: Changed title from 'PERL help'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: concatenating strings
by gellyfish (Monsignor) on May 04, 2005 at 11:16 UTC | |
|
Re: concatenating strings
by tlm (Prior) on May 04, 2005 at 11:23 UTC | |
by imperl (Novice) on May 04, 2005 at 11:31 UTC | |
by Joost (Canon) on May 04, 2005 at 11:39 UTC | |
by imperl (Novice) on May 04, 2005 at 11:41 UTC | |
by polettix (Vicar) on May 04, 2005 at 11:53 UTC | |
by tlm (Prior) on May 04, 2005 at 11:42 UTC | |
by imperl (Novice) on May 04, 2005 at 11:46 UTC | |
|
Re: concatenating strings
by sh1tn (Priest) on May 04, 2005 at 11:45 UTC | |
|
Re: concatenating strings
by Animator (Hermit) on May 04, 2005 at 11:19 UTC | |
by imperl (Novice) on May 04, 2005 at 11:21 UTC | |
|
Re: concatenating strings
by cog (Parson) on May 04, 2005 at 15:36 UTC | |
|
Re: concatenating strings
by aditya.singh (Acolyte) on Jun 24, 2005 at 09:05 UTC |