There's more than one way to do things | |
PerlMonks |
Re: taking file from userby pvaldes (Chaplain) |
on Jul 15, 2013 at 19:48 UTC ( [id://1044448]=note: print w/replies, xml ) | Need Help?? |
> "gives wrong file name which does not belong in a directory" let see... what if your file is a link in another directory pointing to a correct filename in the correct directory? it depends on what do you understand by wrong filename. A wrong filename and a wrong file are very different things If you want to validate your file think instead about an "open file or die/warn/try again/plan B" line
In Section
Seekers of Perl Wisdom
|
|