Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: taking file from user

by pvaldes (Chaplain)
on Jul 15, 2013 at 19:48 UTC ( #1044448=note: print w/ replies, xml ) Need Help??


in reply to taking file from user

> "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


Comment on Re: taking file from user

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1044448]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (5)
As of 2014-12-28 15:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (182 votes), past polls