[EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
: I am trying to make subroutine which asks (via a regular
: expr) where some files are and then list them - but I
: would like it to jump back to the start of the loop if
: it does not find any files.
:
: The jumping part works if there are only files in the
: folder, as soon as there are files and folders it does
: not jump out of the loop. Can any body give me an idea
: how to break this one??
Sounds like a glob() problem. Show us a few examples.
Show us your inputted paths and your results. If the
results differ from what you expect, tell us. Show us
exactly what you are typing at the prompt for each
example.
What version of perl are you using (print $];)?
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
254 968-8328
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>