perl - How does Getopt::Std handle spaces in arguments on the command line? -
I am playing with the module and thinking about the arguments taking the space.
I have this ATM code: getopts ('dp: h', \% option);
The problem is, if the logic P flag contains a space, the getopts
prevents the process from being processed, when it runs on the location Is there a way in which I can keep the spaces in arguments wrapped up without any quotation marks ("P" some things)?
I'm fine with the quote. I'm just curious. Thanks guys!
Take a look, someone used it a lot ..
And point out Double quotes "four (34) will work, if you have empty spaces, then this means that there is no other way.
Comments
Post a Comment