go ahead... be a heretic | |
PerlMonks |
Re: Re: Re: file case changeby tachyon (Chancellor) |
on Mar 15, 2002 at 20:34 UTC ( [id://152077]=note: print w/replies, xml ) | Need Help?? |
This is really bad code. First you lowercase the whole file path ensuring that any uppercase path will break this code (as when you lowercase it you will then try to write along a non existant path). Next you seem to have forgotten that '.' and '..' are not the only directories you might find. Finally you should never print unescaped arbitrary strings in HTML. cheers tachyon s&&rsenoyhcatreve&&&s&n.+t&"$'$`$\"$\&"&ee&&y&srve&&d&&print
In Section
Seekers of Perl Wisdom
|
|