Problems? Is your data what you think it is? | |
PerlMonks |
a lil help on file extensionby Anonymous Monk |
on Jun 09, 2003 at 21:17 UTC ( [id://264466]=perlquestion: print w/replies, xml ) | Need Help?? |
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hello perl friends
I have a lil question for everyone i am doing this in my code
if ( $file_names !~ /\.html/ || $file_names !~ /\.htm/ )
it checks for the .html and .htm pattern in $file_names which contains the filename.extension , it works if the file has an extension of .html but dosen't work if the file has a .htm format can anyone please help me
thank you
Back to
Seekers of Perl Wisdom
|
|