Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^2: (Windows) verbatim command line arguments inside Perl script

by LanX (Saint)
on Apr 16, 2021 at 14:38 UTC ( [id://11131382]=note: print w/replies, xml ) Need Help??


in reply to Re: (Windows) verbatim command line arguments inside Perl script
in thread (Windows) verbatim command line arguments inside Perl script

> Except that (1) bash has sane quoting rules and (2) you don't need to mess with quoting and bash at all

That's - like expected - a lot of emotion ...

Bash is much saner but not sane.

And since I'm biased towards bash - I know it far better - I can't even tell if I'm objective.

> because you can use the list form of system() and exec(), and so can pass each argument as intended (see The problem of "the" default shell).

You are missing my point, not sure if you even read the OP ...

I have to create scripts in the "default shell" with Perl.

And need the recreate the input 1-to-1.

And at least my workaround works so far...

> see The problem of "the" default shell).

thanks

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery

  • Comment on Re^2: (Windows) verbatim command line arguments inside Perl script

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (2)
As of 2024-04-25 20:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found