Is there any way to access the "raw" command-line in order to catch quoting and escaping?
Wrong question. You are trying to build a shell command, so the question is how to convert strings into shell command arguments. For that, there's Win32::ShellQuote's quote_cmd.
use Win32::ShellQuote qw( quote_cmd ); say quote_cmd("some_cmd", @ARGV);
Seeking work! You can reach me at ikegami@adaelis.com
In reply to Re: (Windows) verbatim command line arguments inside Perl script
by ikegami
in thread (Windows) verbatim command line arguments inside Perl script
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |