Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: handle special character in filename

by BillKSmith (Priest)
on Oct 17, 2012 at 21:04 UTC ( #999608=note: print w/replies, xml ) Need Help??


in reply to Re: handle special character in filename
in thread handle special character in filename

The list form may work in this case, but I doubt that it will if the special character is a space. I have been unable to truly solve a similiar problem where system does not correctly parse a command that includes filenames that contain spaces.

Bill
  • Comment on Re^2: handle special character in filename

Replies are listed 'Best First'.
Re^3: handle special character in filename
by moritz (Cardinal) on Oct 18, 2012 at 05:31 UTC
Re^3: handle special character in filename
by i5513 (Pilgrim) on Oct 17, 2012 at 23:24 UTC

    Hello

    I have test system $command,@params with sed and a file with space in its filename, and it works (at least in Debian)

    $ echo "pa" > "a b" $ cat p system ("sed","s,a,o,","a b"); $ perl p po

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://999608]
help
Chatterbox?
[james28909]: what i am trying to do is track state of a chat based application. i need to be able to store the channels and such for a user, and when they join a new server/channel i need to be able to update that feild.
[james28909]: do you think OO would best suite that?
[karlgoethebier]: james28909: The last two are not mainstream. You have been warned ;-)
[karlgoethebier]: james28909: I don't know. Try it.
[james28909]: foreach server this bot is on, the gateway sends me a json response, which i parse out all the info with JSON, and this response has user information, i need to be able to add a user, and then update the user info when they join/leave rooms ect

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (11)
As of 2017-05-25 16:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?