Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: Reading a CSV file

by radiantmatrix (Parson)
on Mar 31, 2008 at 16:28 UTC ( #677581=note: print w/replies, xml ) Need Help??


in reply to Re^4: Reading a CSV file
in thread Reading a CSV file

The backslash is an escape character! If you want to use a windows-style path, you need to escape the backslashes:

open(my $fh, '<', 'C:\\bio stuff\\Aubrey\'s project\\dev.csv')
<radiant.matrix>
Ramblings and references
The Code that can be seen is not the true Code
I haven't found a problem yet that can't be solved by a well-placed trebuchet

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://677581]
help
Chatterbox?
[shmem]: well, there are some builtins which don't have a prototype...
[Discipulus]: eh eh.. i was looking in toke.c but dunno if is already used
[shmem]: oh the whitespace in the regex got condensed, meh
[shmem]: should be /^ {7}(\w+)/ or such
[shmem]: ...at least for my perldoc on Linux debian 8
[Discipulus]: mmh.. at themomemt i just an old 5.8 and outputs just GLOBAL::

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-05-23 10:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?