Well now that I have my file names, I have to make sure they contain only word
characters. I am also allowing periods. I can easily detect if I don't have a
legal word character, but how do I say, 'except for a period' ? This is what I
am doing now:
if ($fileName =~ /\W+/) {
# report an error
}
Thanks,
Kathy
- Re: [MacPerl] checking for illegal characters in file n... Katherine Richmond
- Re: [MacPerl] checking for illegal characters in f... Morbus Iff
- Re: [MacPerl] checking for illegal characters in f... Ronald J Kimball
- Re: [MacPerl] checking for illegal characters ... Detlef Lindenthal
- Re: [MacPerl] checking for illegal characters in f... Morbus Iff
- Re: [MacPerl] checking for illegal characters in f... Katherine Richmond
