Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^5: Creating a new file in a directory

by Corion (Patriarch)
on Aug 21, 2015 at 07:49 UTC ( [id://1139385]=note: print w/replies, xml ) Need Help??


in reply to Re^4: Creating a new file in a directory
in thread Creating a new file in a directory

Yes, that means you have a newline in $mycrdir. This is because you read $mycrdir from the user and that readline includes the final newline as entered by the user. You could have shown this part of your code as well to make it more obvious that $mycrdir is read from the outside.

Log In?
Username:
Password:

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

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

    No recent polls found