Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^3: file basics

by Anonymous Monk
on Mar 12, 2012 at 12:41 UTC ( [id://959120]=note: print w/replies, xml ) Need Help??


in reply to Re^2: file basics
in thread file basics

The problem you probably ran into was that you used double quotes for your file name. (File extensions probably had nothing to do with it.) Since Windows's path separators are backslashes, and backslashes are a special character inside double quotes, this is many a beginner's stumbling-block. There are two easy fixes: use forward slashes (they work even on Windows), or use single quotes.

Replies are listed 'Best First'.
Re^4: file basics
by harry1705 (Initiate) on Mar 13, 2012 at 04:02 UTC

    Thanks Monk, Both these ways helped me solve the problem, but when i tried without file extensions i got the error "Error in open:no such file or directory" by using either forward slashes or single quotes in the windows path

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (3)
As of 2024-04-26 00:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found