in reply to Re: Making/Using a module.
in thread Making/Using a module.

You are reading in file names in a loop, but only returning one file name. You don't need the loop in promptFilename(), and only need to prompt for the one file name (and I believe it is an infinite loop).

Replies are listed 'Best First'.
Re^3: Making/Using a module.
by Andrew_Levenson (Hermit) on Mar 09, 2006 at 01:55 UTC
    Okay, so I use the =~ because that tells whatever i'm doing to apply the next command to the preceding scalar?