Looks basically OK to me. Larry has said in the past the the correct way is whatever gets the job done before you get fired...
Having said that, you might want to investigate using the core module File::Basename, which will do the file/ext split for you w/o needing the regexp.
----Asim, known to some as Woodrow.
In reply to Re: The right way to avoid an error
by Asim
in thread The right way to avoid an error
by diarmuid
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |