Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^6: DBD::CSV::prepare() problems

by Anonymous Monk
on Aug 27, 2012 at 00:34 UTC ( #989895=note: print w/ replies, xml ) Need Help??


in reply to Re^5: DBD::CSV::prepare() problems
in thread DBD::CSV::prepare() problems

Nonsense! Not every OS uses the forward slash (/) as path separator.

So what, the OP doesn't have one of those

On a classic, non-X MacOS, you will fail miserably because MacOS uses single colons (:).

No you won't, you'll get a nice error message, and then you cheerfully fix it -- or it will cheerfully work and you'll get a file with slashes in the name -- no misery anywhere

Same game, different rules with VMS ...

Same ol' same ol'

File::Spec is not perfect, but it still is better than simply using the forward slash everywhere.

File::Spec is great, Path::Class is better, but using forward slashes on unix/linux/windows will work 99% of the time


Comment on Re^6: DBD::CSV::prepare() problems

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (9)
As of 2015-07-28 15:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (257 votes), past polls