in reply to Re^2: Traverse directory backwards based on file
in thread Traverse directory backwards based on file
"Let me know if you have questions or need clarifications."
Well, I've already done that but you haven't responded yet.
I asked you to try some print statements; I even provided sample code. Did you do this? What was the result?
I asked about which variable was supposed to hold 001. You haven't told us.
[Separate issue.] Your output is dependent on user input. You don't show what that user input is.
"and output from the above script looks like this"
No, that's not possible! Look at this line:
print OUT $pref . $number . "," . $prodvolumename . ",$tiffpath\\$pref +$number.tif,";
How can this concatenation
$pref . $number
produce
þHJH1411255
when the same concatenation (albeit coded slightly differently)
$pref$number
produces
HJH1411255
Where did that thorn character come from in the first instance; or, conversely, how did it disappear in the second instance?
Either that's not the output you're getting or you're running different code to what you posted.
All I can do now is make guesses! Maybe the user isn't including 001 when entering $tiffpath. Maybe your code doesn't generate 001 for the output. Maybe something else.
-- Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Traverse directory backwards based on file
by subhash1198 (Initiate) on Mar 30, 2014 at 13:42 UTC | |
by kcott (Archbishop) on Mar 30, 2014 at 15:39 UTC |