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

Re: System() in list mode?

by RichardK (Parson)
on Oct 17, 2011 at 22:06 UTC ( #932027=note: print w/replies, xml ) Need Help??


in reply to System() in list mode?

BTW -- You can have spaces in linux paths :)

You just have to escape them on the command line with \

Replies are listed 'Best First'.
Re^2: System() in list mode?
by 1337John (Initiate) on Oct 17, 2011 at 22:09 UTC
    Because I can obviously do that in the code I posted? Look through my variables each time and escape all the spaces before passing them to system()? I could. But I like to think that a) I know more perl than you and b) I'm not going to settle when there might be a better solution. I'm going to try and use that as a last resort.

      But I like to think that a) I know more perl than you

      Wow; where do you get off?

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://932027]
help
Chatterbox?
[prathap keerthipati]: how to update perl in unix
[hippo]: yum update perl
[hippo]: Other package managers are available
LanX wouldn't update system Perl!
[Discipulus]: prathap keerthipati might be it is better to install an alternative Perl instead and do not touch the system one
[LanX]: see perlbrew for alternative Perl installations
[marto]: unless you know exactly what you're doing an often saner option is to simply build another Perl rather than replace the system one

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (16)
As of 2017-03-23 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.