Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1044448]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (8)
As of 2017-11-21 15:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (304 votes). Check out past polls.

    Notices?