Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Renaming file without forward slash

by hipowls (Curate)
on Feb 25, 2008 at 08:45 UTC ( [id://669962]=note: print w/replies, xml ) Need Help??


in reply to Renaming file without forward slash

You have to double up the '\'s as they are escape characters even in single quote strings. So write 'C:\\duty\\tasks\\checks'. Also have a look at using File::Spec and File::Basename (to pinch dirving's good suggestion;)

  • Comment on Re: Renaming file without forward slash

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (3)
As of 2024-04-25 20:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found