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

Re^3: Importing Data and Exporting Data Issues

by Marshall (Canon)
on Apr 05, 2016 at 06:55 UTC ( #1159583=note: print w/replies, xml ) Need Help??


in reply to Re^2: Importing Data and Exporting Data Issues
in thread Importing Data and Exporting Data Issues

I'll address one point. Grandfather gave good advice.

3. -e vs -f. The documentation is not super clear about this. Basically a directory is also a "file", albeit a special one. The -e test will return true if the name is a directory or some other weirdo things that aren't relevant now. The -f test will return true if (a)the file exists AND (b)the file is a "plain file". Use the -f test. The -e test can return true for some things that aren't simple readable files.

  • Comment on Re^3: Importing Data and Exporting Data Issues

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (5)
As of 2023-12-02 21:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (19 votes). Check out past polls.

    Notices?