Keep It Simple, Stupid | |
PerlMonks |
Re^4: Validate windows filenames.by zzspectrez (Hermit) |
on Jul 14, 2005 at 16:02 UTC ( [id://474928]=note: print w/replies, xml ) | Need Help?? |
Once I discovered the error, I changed the code to both validate the filename and do a copy / delete. However having to jump through a copy / delete 2 - process step kind of defeats the purpose of having a move function.... Thanks for the reply.. However, Im not looking for a solution to deal with the moving of the file. I only mentioned that as background to why validating windows filename is important. My Questions are: (1) Do fellow perlmonks routinely validate filenames? If so, how do you do it? (2) Any inherit problems with how my routines deal with validating/sanitizing windows filenames?? zzSPECTREz
In Section
Seekers of Perl Wisdom
|
|