Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

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?

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (8)
As of 2015-11-26 14:33 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (701 votes), past polls