#perl - Sun 6 May 2007 between 13:59 and 14:22



kjdisyeah I tried that but I must've made some kind of mistake
oh, I think I know
Why isn't it my($element) ?
integralkjdis: Ambiguity.
And it's just not :-)
cfeddeIt kinda sucks that the best game for the wii is wii sports
JuerdI want Wii Tetris
Apachezwhere can I find a definition for how system() can be called ?
should the arguments to the called binary be in the same scope?
like system("someapp -a value"); ?
integralperldoc -f system
Apachezor should it be splitted ?
thanks
integralAlways prefer the list form unless you need the shell.
jobs--
Apachezso system 'someapp', '-a value -b value'; ?
integralno, you need separate arguments to be separate.
Apachezso system 'someapp', '-a value', '-b value'; ?
maukesystem( 'someapp', '-a', 'value', '-b', 'value'
lern2shell
integralSpaces separate arguments in the shell.
You have to do that separation yourself here. And not just RANDOMLY.
Apachezohh oki
i thought system("someapp -a value -b value"); would just work out of the box
maukeit does
Apachezmany scripts in debian is constructed that way
mauke(and it doesn't even spawn a shell)
integralyes, I said *prefer* the list form. Do you understand what "prefer" means?
Apachezyes thats what I want
well if you "prefer" something there is a reason for that ?
maukebut system qw(someapp -a value -b value); isn't significantly harder to type
Apachezor do you just "prefer" out of random?
integralNo, I prefer it because you don't need interpolation when you start to use variables to construct the command.
Phoceanhi
can anyone have one more look at my problem please ?
http://perlmonks.org/index.pl?node_id=613374
integral.oO( Chatter box )
PhoceanI can't get rid of that
actionCPAN upload: RRDTool-Creator-0.3 by JACQUELIN
CPANupload: RRDTool-Creator-0.3 by JACQUELIN
f00li5hintegral: chatter box is turn based irc

Page: 2 9 16 23 30 37 44 51 58 65 72 79 

IrcArchive