in reply to Re: concatenating strings
in thread concatenating strings
Tried the ^ too, is this what you mean?
print "Enter the common character in the batch file:\n"; $t=<STDIN>; 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.$i; #$file="$concatfile.bat"; system( "$^t$i.bat" ); #system($file); sleep(2); }
Janitored by Arunbear - added code tags, as per Monastery guidelines
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: concatenating strings
by Joost (Canon) on May 04, 2005 at 11:39 UTC | |
by imperl (Novice) on May 04, 2005 at 11:41 UTC | |
|
Re^3: concatenating strings
by polettix (Vicar) on May 04, 2005 at 11:53 UTC | |
|
Re^3: concatenating strings
by tlm (Prior) on May 04, 2005 at 11:42 UTC | |
by imperl (Novice) on May 04, 2005 at 11:46 UTC |