in reply to
using s/// to remove file extensions
How about using split instead?
($fName, $extension) = split (/\./, $FullFileName);
print scalar $fName;
/- M a r c -/
Of course I'm assuming all files don't have extra periods in them. A module may be best, unless you know what kind of files to expect consistantly.
I make decisions, and my brain carries them out
My brain makes the decisions, and I observe them (if I'm lucky)
I make some decisions, and my brain makes others
My spouse makes decisions and I and my brain carry them out
I wrote a program to relieve me and my brain from the burden of decision-making
The black-helicopter people project the decisions into my brain and then I do as ordered
Results (511 votes),