in reply to
problems returning from recursive subroutine
If the directory did indeed have some uppercase letters than this call:
lc_filenames("$dir/$file");
would process a nonexisting directory (it is
after
you renamed the
"$dir/$file"
).
Comment on
Re: problems returning from recursive subroutine
Select
or
Download
Code
Replies are listed 'Best First'.
Re: Re: problems returning from recursive subroutine
by
melguin
(Pilgrim)
on Apr 18, 2003 at 08:11 UTC
Wouldn't the line above it:
$file = $newname;
[download]
solve that by making $file (which in this case is a directory) the lowercase version? Or perhaps there's something else I'm not seeing.
[reply]
[d/l]
Re: Re: Re: problems returning from recursive subroutine
by
zby
(Vicar)
on Apr 18, 2003 at 08:43 UTC
Ah - sorry!
[reply]
In Section
Seekers of Perl Wisdom